Loading...
 
Skip to main content

Documentation


Javascript Help

I'm trying to integrate a mouseover javascript on my page. I began by just first testing out a script I found on this site: http://www.pageresource.com/jscript/jhover3.htmQuestion . I would be using different images and links if I can get it to work.

The big problem I have with it, is I can't seem to get the JS Plugin to work quite right. I have tiki creating a new html page to feature the java script. I put in the exact code from the link above and change the image sources and such, and this is what shows up on my tiki:
http://www.jmignited.com/tiki/tiki-page.php?pageName=TestingQuestion....


I don't think I'm coding the Javascript right. Tiki is also inhibiting my mouseovers by changing them to: inhibited_Mouseover

Any help on this matter would be greatly appreciated!


Ok, I took out the JS Plugin and replaced it with (Java code) . When I save the html page, the tiki takes out that coding. It also changes onMouseover and onMouseout to inhibited_Mouseover and inhibited_Mouseout . How can I get around this?

Because ))TikiWiki(( is (at its center) wiki software, it has higher security requirements than in a situation where the page author is probably one or a few individuals that are known to be trusted and have ftp access to the site, etc. This is why some hurdle-jumping is needed to get javascript into pages. The method to use for wiki pages is wiki plugins, as this lets the site admin control what javascript is being used for. I don't know what the rational regarding Tiki's HTML pages is, other than that this is a really minor feature that probably few people use and few developers think about.

The "wiki way" to do the remote rollovers would be (for wiki pages) to make a plugin that contains the javascript. Tiki already loads the necessary javascript file (overdiv.js, as used by the user-info mouseovers) so what's needed is a plugin that can use this and provides for inputting of anchor text and images, etc. (CSS remote rolloversQuestion might also be an option.) This wouldn't work on Tiki HTML pages, though, as Rick said. So the trick becomes doing the plugin, or finding someone to do it or that has done it. Maybe you can look at existing plugins and do a variation that will work, or maybe you can find a consultantQuestion to do it. Right now, though, I think a lot of people are pretty busy trying to get version 1.10 out the door.

-- Gary - zukakakina.comQuestion


Thanks for your advice. I wish tikiwiki wasn't so particular about the javascript code. I played around with coding from various sites and was able to find one that functions mostly with flash and just a tad bit of javascript coding. It works so I'm happy now. I appreciate your help!