www.webdeveloper.com
Recent Articles
  • Finding Slow Running Queries in ASE 15
  • A More Advanced Pie Chart for Analysis Services Data
  • Adobe AIR Programming Unleashed: Working with Windows
  • Performance Testing SQL Server 2008's Change Data Capture Functionality
  • The ABC's of PHP: Introduction to PHP
  • How to Migrate from BasicFiles to SecureFiles Storage
  • Why the Twitter Haters Are Wrong
  • User Personalization with PHP: Beginning the Application
  • Whats in an Oracle Schema?
  • Lighting Enhancement in Photoshop
  •  

    Go Back   WebDeveloper.com > Client-Side Development > HTML

    HTML Discussion and technical support for building, using and deploying HTML sites.

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1  
    Old 12-26-2002, 09:58 AM
    DSilpa DSilpa is offline
    Registered User
     
    Join Date: Dec 2002
    Posts: 8
    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
    Reply With Quote
      #2  
    Old 12-26-2002, 02:20 PM
    swon's Avatar
    swon swon is offline
    Registered User
     
    Join Date: Dec 2002
    Location: Switzerland
    Posts: 424
    You used the onDBLClick function, NS4 does not support this feature. You must change it to an onMouseUp or onMouseDown event!
    __________________


    Swon
    Reply With Quote
      #3  
    Old 12-26-2002, 03:51 PM
    blufive blufive is offline
    Registered User
     
    Join Date: Dec 2002
    Location: Manchester, UK
    Posts: 37
    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.
    Reply With Quote
      #4  
    Old 12-26-2002, 06:45 PM
    jdavia's Avatar
    jdavia jdavia is offline
    Well I came up with this
     
    Join Date: Dec 2002
    Location: Lake Havasu City, Arizona
    Posts: 528
    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 &lt; and &gt; 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.
    Reply With Quote
      #5  
    Old 12-27-2002, 01:22 AM
    Stefan Stefan is offline
    HTML-Mushroom
     
    Join Date: Nov 2002
    Posts: 984
    For reference blufive's answers is found here

    http://forums.webdeveloper.com/showt...&threadid=1418
    __________________
    // Stefan Huszics
    Reply With Quote
      #6  
    Old 12-27-2002, 05:30 AM
    DSilpa DSilpa is offline
    Registered User
     
    Join Date: Dec 2002
    Posts: 8
    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!
    Reply With Quote
      #7  
    Old 12-27-2002, 08:52 AM
    gil davis's Avatar
    gil davis gil davis is offline
    Nobody important
     
    Join Date: Nov 2002
    Posts: 4,434
    Quote:
    Originally posted by swon
    You used the onDBLClick function, NS4 does not support this feature.
    Yes, it does. You just have to "stand on your head" to make it work.

    http://developer.netscape.com/docs/m...rs.htm#1119971
    Reply With Quote
      #8  
    Old 12-27-2002, 09:05 AM
    swon's Avatar
    swon swon is offline
    Registered User
     
    Join Date: Dec 2002
    Location: Switzerland
    Posts: 424
    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
    Reply With Quote
    Reply

    Bookmarks


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

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

    BB code is On
    Smilies are On
    [IMG] code is Off
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 03:31 PM.



    Acceptable Use Policy

    internet.comMediabistrojusttechjobs.comGraphics.com

    WebMediaBrands Corporate Info


    Advertise | Newsletters | Feedback | Submit News

    Legal Notices | Licensing | Permissions | Privacy Policy

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