Topic: Apex Do You Know The HTML to this?
-
I would like to be able to do a mouseover like this, but can't figure it out
google.html
Dec 23, 2004 12:13 pm
-
It is being done by Java scripting language. The script has two functions one is called doTooltip and the other is called hide tip.
Do tip searches an array and gets the message for the link that your mouse is over.
Do you just want to do a mouse over on one item, or do you want to do a page full of links as in your example?
If you want to see the coding for this just do a view source on that page and you can see the script that is doing this. It contains an array that has a lot of elements.
Dec 24, 2004 8:54 pm
-
Yes it's java,
Here is a website that will create the code for you. image_mouseover
Apex
Dec 26, 2004 6:25 pm
-
WoW thanks so much
Dec 26, 2004 6:33 pm
-
Also try this:
html>
<title>CodeAve.com(JavaScript: Hover
Window within Previous Page)</title>
<body bgcolor='#FFFFFF'>
<script language='JavaScript'>
<!--
// This is the function that will open the
// new window when the mouse is moved over the link
function open_new_window()
{
new_window = open('','hoverwindow','width=300,height=200,left=10,top=10');
// open new document
new_window.document.open();
// Text of the new document
// Replace your ' with ' or \' or your document.write statements will fail
new_window.document.write('<html><title>JavaScript New Window</title>');
new_window.document.write('<body bgcolor=\'#FFFFFF\'>');
new_window.document.write('This is a new html document created by JavaScript ');
new_window.document.write('statements contained in the previous document.');
new_window.document.write('<br>');
new_window.document.write('</body></html>');
// close the document
new_window.document.close();
}
// This is the function that will close the
// new window when the mouse is moved off the link
function close_window()
{
new_window.close();
}
// -->
</script>
<a href='#' onMouseOver='open_new_window()' onMouseOut='close_window()'>Open Hover Window</a>
</body>
</html>
Dec 26, 2004 6:39 pm
-
That is what I want except to see a pic when you put the cursor over the text
Dec 27, 2004 6:56 pm
-
You would need to add this line in here:
new_window.document.write('<img src='YOUR URL TO AN IMAGE HERE' ');
and remove the text lines, but leave the head & body & html tags.
Dec 29, 2004 5:55 am
-
Thanks
Jan 2, 2005 9:58 pm









