![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
A quick DW4 question, please! I've designed a site using DW4 (www.netcomuk.co.uk/~pcave/oriental/home.htm) and I've run into a minor and annoying. The small weather check icon on ...page2.htm is set to open in a new window (using DW's Behaviors window) but I'd like the cursor to show the 'link finger' that I see on other links. I'd also like to see the same on the page www.netcomuk.co.uk/~pcave/oriental/treks_short.htm for a straight text link rather than an image link. Huge thanks - this is terribly frustrating. |
#3
| |||
| |||
|
|
wrap the image in <a> tags, and then attach the onclick event to the <a rather than the <img> - this will give you the hand cursor. better yet: a href="file.htm" onclick="window.open('file.htm');return false;" target="_blank" this will allow people with javascrip turned off or unavailable to still access the content, while the average user will get the popup as you desire. |
|
A quick DW4 question, please! I've designed a site using DW4 (www.netcomuk.co.uk/~pcave/oriental/home2.htm) and I've run into a minor and annoying. The small weather check icon on ...page2.htm is set to open in a new window (using DW's Behaviors window) but I'd like the cursor to show the 'link finger' that I see on other links. I'd also like to see the same on the page www.netcomuk.co.uk/~pcave/oriental/treks_short.htm for a straight text link rather than an image link. Huge thanks - this is terribly frustrating. |
#4
| |||
| |||
|
|
the code WAS: img src="images_and_logos/weather3.jpg" width="64" height="62" alt="Check out the weather in Leh with CNN" onClick="MM_openBrWindow('http://weather.cnn.com/weather/forecast.jsp?locCod e=IN072','','width=640,height=480')" Make it: a href=http://weather.cnn.com/weather/forecast.jsp?locCode=IN072 onclick="MM_openBrWindow('http://weather.cnn.com/weather/forecast.jsp?locCod e=IN072','','width=640,height=480'); return false" img src="images_and_logos/weather3.jpg" width="64" height="62" alt="Check out the weather in Leh with CNN" /a HTH, josh "Henry S C" <henrysc (AT) yourpantsbtinternet (DOT) com> wrote in message news:beuvl6$cav$1 (AT) forums (DOT) macromedia.com... Many thanks for the reply. Now comes the embarrassment... I'm a real html novice, so I've always used DW4's WYSIWYG interface. I've posted the relevant code from the page (or at least I think I have!). Would some kind soul sigh gently at the ignorance of youth and tell me to what I should change it? Thanks so much. img src="images_and_logos/weather3.jpg" width="64" height="62" alt="Check out the weather in Leh with CNN" onClick="MM_openBrWindow('http://weather.cnn.com/weather/forecast.jsp?locCod e=IN072','','width=640,height=480')" wrap the image in <a> tags, and then attach the onclick event to the a rather than the <img> - this will give you the hand cursor. better yet: a href="file.htm" onclick="window.open('file.htm');return false;" target="_blank" this will allow people with javascrip turned off or unavailable to still access the content, while the average user will get the popup as you desire. A quick DW4 question, please! I've designed a site using DW4 (www.netcomuk.co.uk/~pcave/oriental/home.htm) and I've run into a minor and annoying. The small weather check icon on ...page2.htm is set to open in a new window (using DW's Behaviors window) but I'd like the cursor to show the 'link finger' that I see on other links. I'd also like to see the same on the page www.netcomuk.co.uk/~pcave/oriental/treks_short.htm for a straight text link rather than an image link. Huge thanks - this is terribly frustrating. |
#5
| |||
| |||
|
|
the code WAS: img src="images_and_logos/weather3.jpg" width="64" height="62" alt="Check out the weather in Leh with CNN" onClick="MM_openBrWindow('http://weather.cnn.com/weather/forecast.jsp?locCod e=IN072','','width=640,height=480')" Make it: a href=http://weather.cnn.com/weather/forecast.jsp?locCode=IN072 onclick="MM_openBrWindow('http://weather.cnn.com/weather/forecast.jsp?locCod e=IN072','','width=640,height=480'); return false" img src="images_and_logos/weather3.jpg" width="64" height="62" alt="Check out the weather in Leh with CNN" /a Many thanks for the reply. Now comes the embarrassment... I'm a real html novice, so I've always used DW4's WYSIWYG interface. I've posted the relevant code from the page (or at least I think I have!). Would some kind soul sigh gently at the ignorance of youth and tell me to what I should change it? Thanks so much. img src="images_and_logos/weather3.jpg" width="64" height="62" alt="Check out the weather in Leh with CNN" onClick="MM_openBrWindow('http://weather.cnn.com/weather/forecast.jsp?locCod e=IN072','','width=640,height=480')" wrap the image in <a> tags, and then attach the onclick event to the a rather than the <img> - this will give you the hand cursor. better yet: a href="file.htm" onclick="window.open('file.htm');return false;" target="_blank" this will allow people with javascrip turned off or unavailable to still access the content, while the average user will get the popup as you desire. A quick DW4 question, please! I've designed a site using DW4 (www.netcomuk.co.uk/~pcave/oriental/home.htm) and I've run into a minor and annoying. The small weather check icon on ...page2.htm is set to open in a new window (using DW's Behaviors window) but I'd like the cursor to show the 'link finger' that I see on other links. I'd also like to see the same on the page www.netcomuk.co.uk/~pcave/oriental/treks_short.htm for a straight text link rather than an image link. Huge thanks - this is terribly frustrating. |
#6
| |||
| |||
|
|
So many thanks, Josh. You've just demonstrated very eloquently why I need to get a book on html. the code WAS: img src="images_and_logos/weather3.jpg" width="64" height="62" alt="Check out the weather in Leh with CNN" onClick="MM_openBrWindow('http://weather.cnn.com/weather/forecast.jsp?locCod e=IN072','','width=640,height=480')" Make it: a href=http://weather.cnn.com/weather/forecast.jsp?locCode=IN072 onclick="MM_openBrWindow('http://weather.cnn.com/weather/forecast.jsp?locCod e=IN072','','width=640,height=480'); return false" img src="images_and_logos/weather3.jpg" width="64" height="62" alt="Check out the weather in Leh with CNN" /a Many thanks for the reply. Now comes the embarrassment... I'm a real html novice, so I've always used DW4's WYSIWYG interface. I've posted the relevant code from the page (or at least I think I have!). Would some kind soul sigh gently at the ignorance of youth and tell me to what I should change it? Thanks so much. img src="images_and_logos/weather3.jpg" width="64" height="62" alt="Check out the weather in Leh with CNN" onClick="MM_openBrWindow('http://weather.cnn.com/weather/forecast.jsp?locCod e=IN072','','width=640,height=480')" wrap the image in <a> tags, and then attach the onclick event to the a rather than the <img> - this will give you the hand cursor. better yet: a href="file.htm" onclick="window.open('file.htm');return false;" target="_blank" this will allow people with javascrip turned off or unavailable to still access the content, while the average user will get the popup as you desire. A quick DW4 question, please! I've designed a site using DW4 (www.netcomuk.co.uk/~pcave/oriental/home.htm) and I've run into a minor and annoying. The small weather check icon on ...page2.htm is set to open in a new window (using DW's Behaviors window) but I'd like the cursor to show the 'link finger' that I see on other links. I'd also like to see the same on the page www.netcomuk.co.uk/~pcave/oriental/treks_short.htm for a straight text link rather than an image link. Huge thanks - this is terribly frustrating. |
![]() |
| Thread Tools | |
| Display Modes | |
| |