| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) | ||||
| Account Suspended Join Date: Apr 2005
Posts: 167
![]() | 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.)
Last edited by zack; 08-18-2005 at 05:35 PM.
| ||||
| |
| | #2 (permalink) |
| DNOA Member Join Date: May 2004
Posts: 5,040
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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"> ????: 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.
|
| |
![]() |
| 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 |