PDA

View Full Version : Is this java or script or what??? How do I use it in BlueVoda??



sisterearth
04-15-2007, 08:33 AM
I'm trying to add the code below to my page, it is a self updating image link to a free e-card of the week from this URL : http://omplace.com/cgi-bin/search/omsearch2.cgi?page_spirit

I know so little about this I'm not sure what it is or how to insert it on my page with BLV. I tryed a few things but had no luck.

This is from Dianne of sisterearthstore.com
See code below.

<!--CODE STARTS HERE-->

<script type="text/javascript" language="JavaScript">
if (navigator.appName == "Microsoft Internet Explorer" ||
navigator.appName == "Mozilla") {
document.write('<iframe src="http://www.omplace.com/spiritcardofweek.html" height="200" frameborder="0" scrolling="no"></iframe>');
}
else {
if (navigator.appName == "Netscape") {document.write('<layer style="position: relative;" src="http://www.omplace.com/spiritcardofweek.html"></layer>');
}
}
</script>

<!--CODE ENDS HERE-->

Watdaflip
04-15-2007, 07:43 PM
Just create a html box, insert that code inside of it, and place it where you want it to show up. Publish and verify that the position is correct, and make the correct changes to get it exactly where you want.

sisterearth
04-20-2007, 09:20 AM
Thanks for the idea but I all ready did that & it did not work but I'll try it one more time just to be sure. I also pasted it into a scripts box and that did not work. Is there some thing else I can try?
Dianne at Sisterearthstore.com

Collectors-info
04-20-2007, 11:00 AM
Hi, you could just place an iframe on your page & set at about 120w X 200h & place this http://www.omplace.com/spiritcardofweek.html properties url field. Should do the same thing. Set the target to _top.

Mook25
04-20-2007, 01:24 PM
The code is javascript and therefore may not work by just adding to the html box as watdaflip suggested. However you could try encasing it in html tags so it looks like:



<html>
<body>
<script type="text/javascript" language="JavaScript">
if (navigator.appName == "Microsoft Internet Explorer" ||
navigator.appName == "Mozilla") {
document.write('<iframe src="http://www.omplace.com/spiritcardofweek.html" height="200" frameborder="0" scrolling="no"></iframe>');
}
else {
if (navigator.appName == "Netscape") {document.write('<layer style="position: relative;" src="http://www.omplace.com/spiritcardofweek.html"></layer>');
}
}
</script>
</body>
</html>


then try the same suggestion and see if that helps.