NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Simple HTML question

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 08-18-2005, 05:29 PM THREAD STARTER               #1 (permalink)
Account Suspended
 
zack's Avatar
Join Date: Apr 2005
Posts: 167
zack is on a distinguished road
 



Simple HTML question


This is the code for a button that soes mouseover effects, etc.
How do I make the page stop loading new ones. (I recently converted from a frame setup.)
Quote:
<img border="0" id="img3" src="button17.jpg" height="20" width="100" alt="Exhaust" onmouseover="FP_swapImg(1,0,/*id*/'img3',/*url*/'button18.jpg')" onmouseout="FP_swapImg(0,0,/*id*/'img3',/*url*/'button17.jpg')" onmousedown="FP_swapImg(1,0,/*id*/'img3',/*url*/'button19.jpg')" onmouseup="FP_swapImg(0,0,/*id*/'img3',/*url*/'button18.jpg')" fp-style="fp-btn: Jewel 3; fp-orig: 0" fp-title="Exhaust">
Last edited by zack; 08-18-2005 at 05:35 PM.
zack is offline  
Old 08-18-2005, 05:44 PM   #2 (permalink)
DNOA Member
Join Date: May 2004
Posts: 5,040
mholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant future
 


Autism Marrow Donor Program 9/11/01 :: Never Forget Multiple Sclerosis Adoption Alzheimer's Lou Gehrig's Disease (ALS)
PLEASE PLEASE PLEASE USE "HTML" TAGS! (that's [ HTML ] and [ /HTML ] without the spaces).

That will produce this:
HTML Code:
<img border="0" id="img3" src="button17.jpg"
height="20" width="100" alt="Exhaust" onmouseover="FP_swapImg(1,0,/*id*/'img3',/*url*/'button18.jpg')"
onmouseout="FP_swapImg(0,0,/*id*/'img3',/*url*/'button17.jpg')"
onmousedown="FP_swapImg(1,0,/*id*/'img3',/*url*/'button19.jpg')"
onmouseup="FP_swapImg(0,0,/*id*/'img3',/*url*/'button18.jpg')"
fp-style="fp-btn: Jewel 3; fp-orig: 0" fp-title="Exhaust">
Which you would agree is MUCH easier to read.
????: NamePros.com http://www.namepros.com/programming/116685-simple-html-question.html

Otherwise, I'm not exactly sure. There's an easier way to do this I think though, give the image a name, then source, then when the user rolls the mouse over, do something like:

imagename.src='image_url.jpg'

See what I mean?
Last edited by compuXP; 08-18-2005 at 05:48 PM.
mholt is offline  
Old 08-18-2005, 07:55 PM THREAD STARTER               #3 (permalink)
Account Suspended
 
zack's Avatar
Join Date: Apr 2005
Posts: 167
zack is on a distinguished road
 



No, not really. I want to make the hyperlink to load the page in the same browser. When I click it it opens a new window for each page.
zack is offline  
Old 08-18-2005, 09:27 PM   #4 (permalink)
DNOA Member
Join Date: May 2004
Posts: 5,040
mholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant future
 


Autism Marrow Donor Program 9/11/01 :: Never Forget Multiple Sclerosis Adoption Alzheimer's Lou Gehrig's Disease (ALS)
In your <a> tag, put target="_self" in it.
mholt is offline  
Old 08-18-2005, 09:29 PM THREAD STARTER               #5 (permalink)
Account Suspended
 
zack's Avatar
Join Date: Apr 2005
Posts: 167
zack is on a distinguished road
 



Thats exactly what I wanted. I'll give ya NP. Thanks man. I appreciate it.
zack is offline  
Closed Thread


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Basic HTML Tutorial webgear Webmaster Tutorials 8 04-02-2005 03:20 PM
Simple HTML Question ZelasMetallium Programming 1 12-09-2004 10:14 AM
Simple html question snapous Programming 8 11-18-2004 06:36 AM

Liquid Web Smart Servers  
All times are GMT -7. The time now is 03:40 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger