Archived

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

  • 0

Added javascript don't work

Question

Posted · Report post

I add some javascript mouse over popup image function.
But code won't work in platform pro, but work great in ordinary html page.
This is the page with small image with num 1 and this image should have similar mouse over image ...
http://www.hosteldayandnight.com/info

And this is web source for that javasrcipt mouse over popup image:
http://prakashmca007.wordpress.com/2012/05/15/javascript-tutorial-mouseover-an-image-thumbnail-to-get-a-pop-up-preview/

Can you help me some how ?

Share this post


Link to post
Share on other sites

1 answer to this question

Posted · Report post

Hi there,

 

I think it would be much easier to use a plugin that to insert the code manually. Something like - http://www.magictoolbox.com/magiczoom/modules/wordpress/

 

Otherwise you'll need to follow the guide and add the script code into the header scripts box in the custom code area in the Pagelines admin panel.

 

<link rel="stylesheet" href="style.css" type="text/css">
<script src="mouseover_popup.js" language="JavaScript"
type="text/javascript"></script>

 

Adding the other code as described when you insert the image.

 

The problem is, Platform is now a deprecated product and is no longer recieving updates since Wordpress went to 3.5. So it might not work, as if it does it might not work in a couple of updates time etc.

 

At some point in the future you should consider upgrading to the Pagelines Framework.

Share this post


Link to post
Share on other sites