Page 1 of 1

how do i do this

Posted: Wed Nov 08, 2006 3:24 am
by gurjit
hi

i want to be able to do a onmouseover event similar to when you hover over the "Wireless router" link or any link that is underlined in:

http://www.computing.net/security/wwwbo ... 16406.html


any ideas, how to achieve this with my own content fed in from a database?

Posted: Wed Nov 08, 2006 4:17 am
by aaronhall
You could connect an onmouseover event to an XMLHttpRequest object

Posted: Wed Nov 08, 2006 5:27 am
by gurjit
do you know any sites that do this or have code snippets?

Posted: Wed Nov 08, 2006 4:10 pm
by aaronhall
I don't know that there are any, but javascript libraries like prototype.js and scriptaculous would make development a lot easier.

Posted: Wed Nov 08, 2006 4:14 pm
by Luke
You would need to build a mini-api (in php or otherwise) for a javascript functions to talk to and get information, so your links would basically be assigned an onmouseover which trigger a javascript function that requests information based on that link. If you really wanted to get tricky, you'd have your javascript traverse the document and assign the links onmouseover events dynamically. Are you a javascripter?

Posted: Wed Nov 08, 2006 4:55 pm
by RobertGonzalez
Yes, there are apps out there that do this. For the life of me I cannot think of one, but there are several sites that host the databases that house the keyword linkers, and others that offer scripts. I would be willing to bet, however, that this little snippet from that pages source might be able to lead you in the right direction...

Code: Select all

<!-- Kontera ContentLink  -->
<script type="text/javascript">
var dc_UnitID = 14;
var dc_PublisherID = 4915;
var dc_AdLinkColor = 'green';
var dc_adprod='ADL';
var dc_open_new_win = 'yes';
</script>
<script type="text/javascript" src="http://kona.kontera.com/javascript/lib/KonaLibInline.js"></script>
<!-- Kontera ContentLink  -->
<SCRIPT LANGUAGE="JavaScript">var tcdacmd="dt";</SCRIPT>
<SCRIPT SRC="http://an.tacoda.net/an/13812/slf.js" LANGUAGE="JavaScript"></SCRIPT>

Posted: Thu Nov 09, 2006 4:12 am
by gurjit
Hi Guys,

I just want to know how to bring up the popup and make it stay there. I'm not looking for a keyword search.

I have 27000 records from a database. I want to put a on mouseover event, so when you hover over the dynamic link a pop event appears and stays there.

I've been hunting around the net and just cant find any script to help do this. A start would be to know what this event s called?

Thanks for all help so far

Posted: Thu Nov 09, 2006 4:19 am
by JayBird
Moved to Client Side