Is there a way to do this?
#1
Posted 07 September 2009 - 07:13 AM
Note : Im using Dream Weaver
I have a rollover image and i would like it to, when the cursor is over the image instead of flipping to the other image i need it to disappear. So behind the picture there would be more than one link to click on.
Is that possible ?
If you have any other question please ask.
Thanks for reading
Regards
Delta
#3
Posted 07 September 2009 - 09:12 AM
There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.
#4
Posted 07 September 2009 - 09:37 AM
#5
Posted 07 September 2009 - 10:46 AM
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Test</title>
<script type="text/javascript">
function showLinks(){ document.getElementById("myDiv").innerHTML = "<a href='http://www.groovicus.com'>www.groovicus.com</a>"; }
</script>
</head>
<body>
<div id="myDiv" onmouseover="showLinks()">
<img src="http://www.bleepingcomputer.com/forums/uploads/av-689.jpg" />
</div>
</body>
</html>Can Flash do that in a single statement? I have never used Flash.
#6
Posted 07 September 2009 - 07:26 PM
I'm guessing you'd probably want what groovicus has posted, maybe with a onmouseout event to change from the links back to the picture when the mouse is not on the picture.
If you need any help understanding what the code posted means, don't hesitate to ask!
There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.
#7
Posted 08 September 2009 - 03:28 PM
KamakaZ, on Sep 8 2009, 02:26 AM, said:
I'm guessing you'd probably want what groovicus has posted, maybe with a onmouseout event to change from the links back to the picture when the mouse is not on the picture.
If you need any help understanding what the code posted means, don't hesitate to ask!
Yes please, if you can tell me what the code means it would be much appreciated.
#8
Posted 08 September 2009 - 03:53 PM
Take a look at my website which i uploaded on a free server for now.
My Website
When you click on a small picture/wallpaper a small window pop up so the user select a suitable resolution for his monitor.
Or ( The idea I told you before)
When you go on a small picture/wallpaper, that image disappear and "under neath it" 2 or more clickable links/text appear, example: Resolution 1024x768
resolution 800x600
(Note: Each link would re direct the user to a unique page)
I think the second option is more difficult but more user friendly.
Please, tell me exactly where i should put the coding in my page.
Thanks a lot and sorry for double posting, I should have pressed the Edit option.;)
Delta
This post has been edited by Delta16: 08 September 2009 - 03:56 PM
#9
Posted 08 September 2009 - 04:45 PM
Quote
Put what coding? Did you look at the example I gave you?
#10
Posted 09 September 2009 - 01:20 PM
Now there is 2 problems, One is, that when i move the mouse over the image its start flashing and the other is when i move the mouse over the image and then remove the cursor without clicking the image wont appear again, like KamakaZ said
Thanks a lot for helping me
This post has been edited by Delta16: 09 September 2009 - 01:34 PM
#11
Posted 09 September 2009 - 06:20 PM
There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.
#12
Posted 10 September 2009 - 01:20 AM
Can I fix that?
Thanks
This post has been edited by Delta16: 10 September 2009 - 02:55 AM
#13
Posted 10 September 2009 - 05:31 AM
There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.
#14
Posted 10 September 2009 - 08:44 AM
What can i add in this statement to restore the image when the mouse is not over.
onmouseout="()"
Or if it is the wrong statement tell me the right one.
Thanks
EDIT : Uploaded the files so you can see whats happening.
My Website
Move the mouse over the digital art picture and click it. Another problem is that it wont re direct.
This post has been edited by Delta16: 10 September 2009 - 09:04 AM
#15
Posted 10 September 2009 - 05:51 PM
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Test</title>
<script type="text/javascript">
function showLinks(){ document.getElementById("myDiv").innerHTML = "<a href='http://www.groovicus.com'>www.groovicus.com</a>"; }
</script>
<script type="text/javascript">
function
hideLinks(){ document.getElementById("myDiv").innerHTML = "<img src='http://www.bleepingcomputer.com/forums/uploads/av-689.jpg' />"; }
</script>
</head>
<body>
<div id="myDiv" onmouseover="showLinks()" onmouseout="hideLinks()">
<img src="http://www.bleepingcomputer.com/forums/uploads/av-689.jpg" />
</div>
</body>
</html>
There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.

Help



Back to top









