User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 373,937 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,484 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting

Firefox Compatibility help with script

Join Date: Mar 2008
Location: Madrid - Spain
Posts: 20
Reputation: HenryGR is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 3
HenryGR's Avatar
HenryGR HenryGR is offline Offline
Newbie Poster

Re: Firefox Compatibility help with script

  #13  
Apr 21st, 2008
If you have the image on a server (whichever), just place the url on the "a" tag...

<a href="spike.jpg" onclick="this.href = 'javascript:void(0);';">
        <img src="http://www.myserver.com/images/spike_thumb.jpg" title="click to expand." style="float:right;" onclick="new ImageExpander(this, 'http://www.myserver2.com/images/spike.jpg');">
    </a>
You keep going, have a Nice day!
Henry.

Before printing this message, make sure is necessary.
Reply With Quote  
All times are GMT -4. The time now is 6:44 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC