OK so I started designing my website and I uploaded my "index.html" to the public_html folder and all my pictures and used this code to make my buttons have a mouse over effect.
And the button won't even show up but if I do it like this:Code:<a href="http://google.com/" onMouseover="document.home.src='http://empire-software.hostei.com/public_html/home_btn_hover.jpg'" OnMouseOut="document.home.src='http://empire-software.hostei.com/public_html/home_btn.jpg'" ><img src="http://empire-software.hostei.com/public_html/home_btn.jpg" border="0" name=home /> </a>
the buton will show up but will not change on mouse over.Code:<a href="http://google.com/" onMouseOver="document.about.src='about_me_btn_hover.jpg'" onMouseOut="document.about.src='about_me_btn.jpg'" ><img src="about_me_btn.jpg" border="0" name=about /> </a>does any one have any idea why this is not working?
Thanks, +rep for help.
Knowledge: Intermediate C#, Beginner AS3, HTML, CSS, Binary, Hex, Octal.
Science is only an educated theory, which we cannot disprove.
the second one should be working fine, did it work fine before you upload?
if yes then your problem might be:
-the mouse-over button image doesnt exist
-or you dont have permission to the image
try opening the image in your browser
let me know if that didnt solve it
yo homie i heard you like one-line codes so i put a one line code that evals a decrypted one line code that prints "i love one line codes"
www.amrosama.com | the unholy methods of javascriptCode:eval(base64_decode("cHJpbnQgJ2kgbG92ZSBvbmUtbGluZSBjb2Rlcyc7"));
Yes I have all my pictures uploaded in the public_html folder.the second one should be working fine, did it work fine before you upload?
if yes then your problem might be:
-the mouse-over button image doesnt exist
I should have permission I'm the admin.-or you dont have permission to the image
I clicked view on the image in the public_html folder then copied the image location and changed the code to that link and it worked while the page was loading then it loaded all the way and won't work again even if I refresh it.try opening the image in your browser![]()
Knowledge: Intermediate C#, Beginner AS3, HTML, CSS, Binary, Hex, Octal.
Science is only an educated theory, which we cannot disprove.
huh?!!
wtf??
thats weird, can i see a link?
yo homie i heard you like one-line codes so i put a one line code that evals a decrypted one line code that prints "i love one line codes"
www.amrosama.com | the unholy methods of javascriptCode:eval(base64_decode("cHJpbnQgJ2kgbG92ZSBvbmUtbGluZSBjb2Rlcyc7"));
OK I changed the code back toand it works totally fine in Google chrome and Opera but only two buttons work in IE and none in FF.Code:<a href="http://google.com/" onMouseover="document.home.src='home_btn_hover.jpg'" OnMouseOut="document.home.src='home_btn.jpg'" ><img src="home_btn.jpg" border="0" name=home /> </a>
EDIT* here's the link Home
EDIT*EDIT* Now it seems to be working in FF after I held my mouse on it for 3 seconds it loaded and worked fine.so I guess it will be ok for now.
Knowledge: Intermediate C#, Beginner AS3, HTML, CSS, Binary, Hex, Octal.
Science is only an educated theory, which we cannot disprove.
Yea it took me 3 secs in FF for the first time and now it works instantly, i'm not sure why that is.
I tested the link in the other browsers and the mouse over image came instantly.
If the FF issue bothers you I recommend you use my method in this thread:
Hover buttons
It works in all major browsers and there is no download time, as the no rollover image and rollover image are the same file.
Ya same for me.Yea it took me 3 secs in FF for the first time and now it works instantly, i'm not sure why that is.
OK thanks I'll take a look.If the FF issue bothers you I recommend you use my method in this thread:
Hover buttons
It works in all major browsers and there is no download time, as the no rollover image and rollover image are the same file.
Knowledge: Intermediate C#, Beginner AS3, HTML, CSS, Binary, Hex, Octal.
Science is only an educated theory, which we cannot disprove.
it worked just fine here on opera
yo homie i heard you like one-line codes so i put a one line code that evals a decrypted one line code that prints "i love one line codes"
www.amrosama.com | the unholy methods of javascriptCode:eval(base64_decode("cHJpbnQgJ2kgbG92ZSBvbmUtbGluZSBjb2Rlcyc7"));
Ya I think I got it working now.
Knowledge: Intermediate C#, Beginner AS3, HTML, CSS, Binary, Hex, Octal.
Science is only an educated theory, which we cannot disprove.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks