navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

scroller:dreamweaver layer upward in a box

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Dreamweaver Help >> scroller:dreamweaver layer upward in a box
Page: [1]
 
lsfphelpls

 

Posts: 443
Joined: 3/16/2005
Status: offline

 
scroller:dreamweaver layer upward in a box - 5/24/2007 15:11:44   
THE CODE BELOW is a rectangle with a dreamweaver layer. I get script from
http://www.dynamicdrive.com/dynamicindex2/cmarquee2.htm
modified somewhat but do NOT work ? I want the dreamweaver layer move upward[scroller] in the box[rectangle] ...

-------------------------------------------------------------------------

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<style type="text/css">

#marqueecontainer{
position: relative;
width: 400px; /*marquee width */
height: 150px; /*marquee height */
background-color: white;
overflow: hidden;
border: 3px solid orange;
padding: 2px;
padding-left: 4px;
}

.style1 {font-family: Arial, Helvetica, sans-serif}
.style2 {color: #FF0000}
</style>

<script type="text/javascript">

/***********************************************
* Cross browser Marquee II- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/

var delayb4scroll=2000 //Specify initial delay before marquee starts to scroll on page (2000=2 seconds)
var marqueespeed=2 //Specify marquee scroll speed (larger is faster 1-10)
var pauseit=1 //Pause marquee onMousever (0=no. 1=yes)?

////NO NEED TO EDIT BELOW THIS LINE////////////

var copyspeed=marqueespeed
var pausespeed=(pauseit==0)? copyspeed: 0
var actualheight=''

function scrollmarquee(){
if (parseInt(cross_marquee.style.top)>(actualheight*(-1)+)
cross_marquee.style.top=parseInt(cross_marquee.style.top)-copyspeed+"px"
else
cross_marquee.style.top=parseInt(marqueeheight)+8+"px"
}

function initializemarquee(){
cross_marquee=document.getElementById("vmarquee")
cross_marquee.style.top=0
marqueeheight=document.getElementById("marqueecontainer").offsetHeight
actualheight=cross_marquee.offsetHeight
if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1){ //if Opera or Netscape 7x, add scrollbars to scroll and exit
cross_marquee.style.height=marqueeheight+"px"
cross_marquee.style.overflow="scroll"
return
}
setTimeout('lefttime=setInterval("scrollmarquee()",30)', delayb4scroll)
}

if (window.addEventListener)
window.addEventListener("load", initializemarquee, false)
else if (window.attachEvent)
window.attachEvent("onload", initializemarquee)
else if (document.getElementById)
window.onload=initializemarquee


</script>

</head>

<body>

<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<noscript>
<div id="marqueecontainer" onMouseOver="copyspeed=pausespeed" onMouseOut="copyspeed=marqueespeed">
<div id="vmarquee" style="position: absolute; width: 98%; overflow: auto;">
<!--YOUR SCROLL CONTENT HERE-->
<div align="center"><strong><font face="Arial, Helvetica, sans-serif" color="#0000FF">Pafos
Car Hire</font></strong> </div>
<h5 align="center" class="style1">We are a reliable Online Car Rental Company
in Cyprus.</h5>
<h5 align="center" class="style1"> Book your car hire for your holiday to
Cyprus, delivery can be made Island wide. Our packages assure, highly competitive
car hire rates. Our prices include delivery & collection, CDW comprehensive
insurance, car theft insurance, 2nd driver's insurance, all local taxes,
multilingual service team, 24 hour emergency service and on road technical
assistance.<br>
<br>
<span class="style2">Cyprus car hire wth no hidden costs </span><br>
<br>
The price you quoted is the price you pay. Check our <a href="index.php">www.paphoscarhire.com</a> low
cost <a href="rates.php">prices</a>.<br>
<br>
<b><font face="Arial" size="2"><span class="style2">Special Services:</span> 24hours
service - All over Cyprus delivery/collection - Always Pay-on-Arrival...it
couldn't be safer , no credit card details have to be given until Rental
Start !</font></b><br>
</h5>
<!--YOUR SCROLL CONTENT HERE-->
</div>
</div>
</noscript>
<p> </p>
</body>
</html>
Tailslide

 

Posts: 5948
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: scroller:dreamweaver layer upward in a box - 5/25/2007 3:04:13   
Try removing the noscript tags and see if that helps.

If not - you might be better off asking at the dynamic drive forum which is where the experts on these scripts are: http://www.dynamicdrive.com/forums/

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to lsfphelpls)
lsfphelpls

 

Posts: 443
Joined: 3/16/2005
Status: offline

 
RE: scroller:dreamweaver layer upward in a box - 5/25/2007 3:41:33   
how I do a layer in dreamweaver move along a box ? exist any behavior for this ?

(in reply to lsfphelpls)
Page:   [1]

All Forums >> Web Development >> Dreamweaver Help >> scroller:dreamweaver layer upward in a box
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts