|
|||||||
| HTML Discussion and technical support for building, using and deploying HTML sites. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
netscape problem
Can anyone tell me why the javascript I have on my page (to enlarge an image upon double clicking) will not work with Netscape? Is there a way to make this work on Netscape?
Also the text in the table on the right (specifically #2) is messed up in Netscape. Any ideas? Thanks. My site: http://perso.wanadoo.fr/david.silpa/paris.htm |
|
#2
|
||||
|
||||
|
You used the onDBLClick function, NS4 does not support this feature. You must change it to an onMouseUp or onMouseDown event!
__________________
Swon |
|
#3
|
|||
|
|||
|
I answered the other points over in the Javascript forum.
__________________
gav http://www.livejournal.com/users/blufive/ browser stats analysis and comment: http://www.livejournal.com/community/stats_weenie/ Last edited by blufive; 12-26-2002 at 03:56 PM. |
|
#4
|
||||
|
||||
|
You used the onDBLClick function, NS4 does not support this feature. You must
change it to an onMouseUp or onMouseDown event![quote] That is correct but the script is not compatible with Netscape. But unfortunately a script may be hard to find that is. There is a script that will work in both Browsers clicking the image will load the larger image on a new html page, clicking that image will bring you back. Put this in the head of the page that has all the images. <HEAD> <script language="JavaScript1.2"> <!-- Begin function fullScreen(theURL) { window.open(theURL, '', 'fullscreen=yes, menu=yes, scrollbars=auto'); } // End --> </script> >/HEAD> And this in the body. This is for one image, add as many as you need. <a href="javascript:void(0);" onMouseOver="window.status='CA Snow'; return true" onMouseOut="window.status=' '; return true" onClick="fullScreen('New-IMAGE.html');"> <img src="YOUR-IMAGE.jpg" width="75" height="50" alt="Your-image" title="CA Snow" border=0 align="left"></a> Snow in California by Joe<br> <i><font size="-1">Make comments here </font></i> For each image you need to call back the the page with all the images like this. <center><a href="javascript:window.close('YOUR.html');"><img src="YOIUR-IMAGE.jpg" width="736" height="484" alt="your-image (Click picture to return.)" border=0></a></center> Subsitute < and > for < and > using find/replace or copy it and paste it as the source in a html doc. View it and copy it again from there to use. As for tables in Netscape---- You need to put closing tags in the first table and it will come right. You have some work ahead.
|
|
#5
|
|||
|
|||
|
__________________
// Stefan Huszics |
|
#6
|
|||
|
|||
|
Thanks again
Thanks again to all of you that replied. You guys really help the process of building web pages. It would be too frustrating to do without this help!
|
|
#7
|
||||
|
||||
|
Quote:
http://developer.netscape.com/docs/m...rs.htm#1119971 |
|
#8
|
||||
|
||||
|
Yes, it does. You just have to "stand on your head" to make it work.
that's true but not for all tags, and above he had the img tag with a onDblClick event within, and that will not works on NS4
__________________
Swon |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|