HighDots Forums  

Dreanweaver Navigation Problem

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Dreanweaver Navigation Problem in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
algia10
 
Posts: n/a

Default Dreanweaver Navigation Problem - 04-01-2009 , 11:27 AM






Hi everyone,

In the behaviors, when I set an image to open a larger version in a new
browser window (the image in in another .html page).....the on "onClick"
option (or any others for that matter, because I tried them all) doesn't turn
the cursor into a hand when I view the page in a browser, any
browser..........! why is that and how can I make it turn into a hand, all it
does now it just shows the regular mouse arrow, so Unless I specify that there
is a link there (in writing) people would not know.

Thanks,
Alex


Reply With Quote
  #2  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: Dreanweaver Navigation Problem - 04-01-2009 , 11:45 AM






Quote:
why is that
It's because you are applying the behavior directly to an image tag, and not
to an anchor that surrounds the image, which is really the proper way to do
it.

1. Select the image.
2. Apply your behavior.
3. With the Behaviors pane still open, click on the 'onclick' that you see
under the Event header and select "<A>onClick" from the list. This will
automatically wrap your image in an anchor tag.

Be aware that, while this will work to produce your pointer onmouseover,
it's an incomplete procedure. To complete things you will have to either
manually edit the code, or get an extension called "Smart Link" from David
Powers -

http://japan-interface.co.uk/webdesign/tools/SmartLinkHelp.html

The final result will be code that looks like this -

<a href="something.html" onclick="MM_openBrWindow('...');return false"><img
src="..."... />

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"algia10" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hi everyone,

In the behaviors, when I set an image to open a larger version in a new
browser window (the image in in another .html page).....the on "onClick"
option (or any others for that matter, because I tried them all) doesn't
turn
the cursor into a hand when I view the page in a browser, any
browser..........! why is that and how can I make it turn into a hand, all
it
does now it just shows the regular mouse arrow, so Unless I specify that
there
is a link there (in writing) people would not know.

Thanks,
Alex



Reply With Quote
  #3  
Old   
E Michael Brandt
 
Posts: n/a

Default Re: Dreanweaver Navigation Problem - 04-01-2009 , 12:45 PM



Murray *ACE* wrote:

Quote:
Be aware that, while this will work to produce your pointer onmouseover,
it's an incomplete procedure. To complete things you will have to
either manually edit the code, or get an extension called "Smart Link"
from David Powers
or to complete the procedure you can also use my free divaFreeTools:

http://divahtml.com/products/divaFreeTools/free_dreamweaver_tools.php


--


E. Michael Brandt

www.divahtml.com
www.divahtml.com/products/scripts_dreamweaver_extensions.php
Standards-compliant scripts and Dreamweaver Extensions

www.valleywebdesigns.com/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia

--


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.