Jump to content

combining 2 scripts together


chandler

Recommended Posts

Hi guys,

 

Can you please help me I am unsure how to get the following to work (or even if it is possible)

 

I have the following tooltip script that works great

<a href="javascript:void(0)" class="lytetip" data-lyte-options="tipStyle:info" 
   data-tip="Some text goes here">

 

At the end of the text I want to add a click here for more information link, on clicking a content box will drop into view using this script

Head

<script>

var dropinbox1=new dropincontentbox({
source:['#dropbox', 'dropincontent.htm'], //#id of DIV to show if defined inline, or [#id, path_to_box_content_file] if defined in external file
cssclass:'dropinbox standardshadow', //arbitrary class(es) to add to the drop in box to style it
showduration:10 //disappear after x seconds?
})


</script>

 

Body link

 

<a href="javascript:dropinbox1.show()">Show Reminder box again</a> | <a href="javascript:dropinbox1.hide()">Hide Reminder Box</a>

 

 

I am able to get the box to drop in but unable to get the link for the box inside the tooltip....is this possible?

 

Many thanks for your help

Link to comment
https://forums.phpfreaks.com/topic/268281-combining-2-scripts-together/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.