Jump to content
Sign in to follow this  
danko_matasic

Added javascript don't work

Recommended Posts

danko_matasic    0
danko_matasic

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
James B    436
James B

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.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×