Hello All
Ok still working like mad on my new site, I use something called peel away ads on some of my sites, it is basically a page peel software that hangs in the top right hand corner of the page on your site with a flash graphic when you hover over it it reveals the "behind" page, very cool and ex cellent for marketing and list building
OK in the past using software I now term "pain in the ***" Dreamweaver and Expression Web, it is simply pasting a very simple line of code somewhere near the top and it works no problem the code is:
Code:
<script src="peel.js"></script>
In my .XAR fiel I am using the no cache script via a placeholder named head placed of the page, so I open this to begin with the original rectangle placeholder that is, added a blank line after my no cache script then pasted the line of code for this script, saved re-exported the whole site and re-uploaded the result wasn't as expected, in IE it worked fine but in Firefox it seemed to read the right and left the wrong way round look in Forefox and you will see what I mean then if you look In IE you will see how it is supposed to work.
Thinking it may be something to do with the 2 codes in the one placeholder I opened the index.htm file in notepad and moved the code to outside the head section re-saved and re-uploaded still with the same result.
The top of the script with the allignment setting is:
Code:
document.write('<style type="text/css">'+'#unlayout { top:-1000px; }');
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// DECLARATION OF ALL THE PARAMETERS TO BE PASSED TO THE FLASH PEEL
//DISPLAY FREQUENCY enter 1 to always display, 2 for ONCE per browser session
var displaymode=1
//AUTO HIDE Set duration PellAwayAd should appear on screen, in milliseconds (10000=10 sec, 0=perpetual)
var displayduration=0
//AUTO SCROLL Should PeelAwayAd scroll down page as user scrolls? true=scroll false=don't scroll
var allowscroll=true
// TOP PLACEMENT value How many pixels from Top should Peel be dislpayed
var top = "0px";
// RIGHT PLACEMENT How many pixels from right should Peel be displayed
var right = "-0px";
// PEEL DELAY set time delay to show peel in millisecond (10000=10 sec, 0=instantly)
var delay = '0';
// ROTATING SMALL IMAGES - To set small image or swf files for small peel background
smallimg = new Array();
smallimg[0]= 'images/smallcorner.jpg';
smallimg[1]= 'images/smallcorner.jpg';
smallimg[2]= 'images/smallcorner.jpg';
smallimg[3]= 'images/smallcorner.jpg';
// SMALL SCROLLING TEXT To set the text scrolling on the smaller flash
var scrolltxtsmall = "";
// SMALL FONT - To set the font size of the text scrolling on the smaller flash
var txtsizesmall = "10";
//SMALL COLOR - To set the text color of the text scrolling on the smaller flash
var textcolorsmall = "FF0000";
// ROTATING BACKGROUND IMAGES - To set bigger image or swf files
bigimg = new Array();
bigimg[0] = "images/bcktest2.jpg";
bigimg[1] = "images/bcktest2.jpg";
bigimg[2] = "images/bcktest2.jpg";
bigimg[3] = "images/bcktest2.jpg";
// ROTATING URLs - To set URL which will open on click of bigger flash
urlval = new Array();
urlval[0] = "http://www.99quidwebsites.co.uk";
urlval[1] = "http://www.99quidwebsites.co.uk";
urlval[2] = "http://www.99quidwebsites.co.uk";
urlval[3] = "http://www.99quidwebsites.co.uk";
// OPEN IN SAME WINDOW - To set whether the URL will open in a new window or same window
var owindow = "blank" // to open in a new blank window - blank ; to open in the same window - self
// BIG SCROLLING TEXT To set the text scrolling on the bigger flash
var scrolltxtbig = "Special Offer 5 Page Site Including Hosting and Design 20 Pounds Off! Click Here For Details!";
// BIG TEXT FONTTo set the font size of the text scrolling on the bigger flash
var txtsizebig = "35";
// BIG TEXT COLORTo set the text color of the text scrolling on the bigger flash
var textcolorbig = "#0000FF";
If I set the right allignment to -1325 it alligns correctly on the right hand side in forwfox but then has completely gone in IE, so this leads me to believe ( I may be wrong so you know bear with me lol) for some reason Firefox seems to be reading the left and right allignment back to front?? (or IE I suppose)
How can I rectify this? Can usually figure things out like this fiddling around but that has me beat (for the moment anyhoe )
Any help appreciated
Chris
Bookmarks