var fontFamily = 'arial,sans-serif';
var textSpan, marquee;
var fontSize = parseInt(marqueeHeight) - 6;
var content = document.getElementById('scroller').getAttribute('content');
var scrollit = '<div style="position:relative; margin:auto; width:'+marqueeWidth+'px;height:'+marqueeHeight+';overflow:hidden;color:#FFFFFF;"';
if (pauseMarquee) scrollit += ' onmouseover="speedTwo=0" onmouseout="speedTwo=marqueeSpeed"';
scrollit +='><div id="marquee" style="position:absolute;left:0px;top:0px;font-family:'+fontFamily+';font-size:'+fontSize+'px;white-space:nowrap;"><\/div><\/div>';
document.getElementById('scroller').innerHTML = scrollit;
marquee = document.getElementById("marquee");
textSpan = document.getElementById("text").offsetWidth;
I have a div, supposed the be at the bottom of the page, since its position is relative and there are another 2 divs placed before it. However it is diplayed at the top of the page. It is like that, in order to sva space I discarded the elements. The problem is, div footersub behaves like there are not leftsub or rightsub.
If you are using standard html in browser there is no way to force print the document in a printer of your choice. You can give alert to choose the printer of your type before calling window.print, which will open the print dialog.
After that it is on user's choice to use proper printer or not.
The object which is mentioned at http://www.dreamincode.net/forums/showtopic71580.htm, is for printing the pdfs.Our Reports are in pdfs, so I think we can print those using system default printer, I would like to change the printer for labels. I think that would be the easier approach.
Heres a situation. I have a main SWF file that has variables. I load a SWF file inside the main SWF and I want to access variables from the main part. Is this possible? Or what is best way to share information between SWF file?
i'm new to web design and i have this problem :
i'm creating a web site in dreamweaver cs3 (simple html).one of my pages have some article titles
i want to do this : When a user click on the title , to open a popup window without title bar that cointains one image , a description and a close button.But the image and the text should be variables to be used for all articles.
thank you but i want 2 object inside popup to be variables 1 image and 1 text description , so when i click the first article the popup should show the first image and the first description , when i click the second article the popup should show the second image and description .... .