Category Archives: Javascripts

Problem with line breaks: they break Javascripts. An awesome tool: Remove Line Breaks Online Tool

Use the tool here: http://www.textfixer.com/tools/remove-line-breaks.php Quote: “Use this tool because spending hours manually removing line breaks sucks.”

Problem: Java Applet doesn’t load on a WordPress page.

Problem: I tried to embed a Java Applet into my WordPress page. The applet worked perfectly on an HTML page, but when I pasted it into the WordPress page, it didn’t show. What’s wrong? Answer: Make sure there’re no line breaks in your applet code. WordPress adds <p> and <br /> tags automatically, while this […]

Virtual Tour 360: embed Java Applet using IPIX Java Viewer

To download the IPIX Java Viewer: http://www.ipix.com/downloads.html How to embed the code: http://www.ipix.com/faq_java.html ================================ The code: Simple Example Code example <APPLET name=”IpixViewer” code=”IpixViewer.class” archive=”IpixViewer.jar” width=”320″ height=”240″> <PARAM NAME=”url” VALUE=”YOURIMAGE.ipx”> <PARAM NAME=”toolbar” VALUE=”on”> <PARAM NAME=”initfov” VALUE=”80″> <PARAM NAME=”spinspeed” VALUE=”0″> <PARAM NAME=”spinstyle” VALUE=”flat”> </APPLET> Full Featured Example Code example <APPLET name=”IpixViewer” code=”IpixViewer.class” archive=”IpixViewer.jar” width=”320″ height=”240″> <PARAM NAME=”url” […]

NextGen Gallery problem: Piclens doesn’t work with one of my galleries!

Question: I’m using NextGen Gallery plugin for my WordPress site. I have a total of more than 60 galleries, all of them are working fine except one! When I click View with Piclens, the Piclens window opens, but I can’t see any images in the gallery. To the best of my knowledge, I created all […]

Image Uploader problem

http://lists.automattic.com/pipermail/wp-trac/2008-May/027662.html

Embed .FLV

Download Player: http://www.longtailvideo.com/players/jw-flv-player/ Installation instruction: http://www.longtailvideo.com/support/tutorials/Installation-Instructions Setup Wizard: http://www.longtailvideo.com/support/jw-player-setup-wizard =================================== http://www.walkernews.net/2008/01/11/how-to-embed-flv-flash-in-wordpress-or-html/

Stop Flash header from reloading on every page

http://www.askapache.com/htaccess/preload-and-cache-flash-flv-files.html ============================= http://www.iwavesolutions.com/corp/ ============================= http://www.webmaster-talk.com/html-forum/111448-how-can-i-stop-flash-header.html ============================= SWFObject: Javascript Flash Player detection and embed script JavaScript: Preloading Images ============================= Preload a Flash movie (SWF): Put the script below into the <head> part of your HTML: remember to change the (300,200) to your Flash movie’s size. <SCRIPT language=”JavaScript”> <!– pic1= new Image(300,200); pic1.src=”http://yourdomain.com/yourmoviefile.swf&#8221;; //–> </SCRIPT>

Javascript error: The [object] Oops when open new window with the window.open() Method

The [object] Oops The “[object] Oops” is what happens when the opener page is overwritten with the text, “[object]” or “[object window]” as a result of the open() method being directly invoked from the HREF attribute. This occurs because the open method returns an object reference to the browser window. To avoid the [object] oops, […]