Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,160,457 members, 7,843,391 topics. Date: Wednesday, 29 May 2024 at 01:28 AM

Help Me Figure This And I Will Recharge Your Phone N200 In Reply - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Help Me Figure This And I Will Recharge Your Phone N200 In Reply (849 Views)

I Just Spent Entire Night Coding!! And I Discovered That..... / Cant Figure This Out! / I Have Decided To Become A Programmer/app Developer And I Need Some Guide (2) (3) (4)

(1) (Reply) (Go Down)

Help Me Figure This And I Will Recharge Your Phone N200 In Reply by chizillar(m): 10:28am On Dec 26, 2010
I am trying to get a scrolling iframe for my site. This is the code: <iframe name="FRAMENAME" src="contentpage.htm" width="100" height="280" style="border: 10 solid #0415FB" scrolling="no" allowautotransparency=true></iframe>


what i am trying to figure out is how to make it scrolling automatically like what you see by visiting here: http://www.samisite.com/test-csb2nf/id73.htm. I was given the attribute modification but need arranging the code to work. Happy christmas.
Re: Help Me Figure This And I Will Recharge Your Phone N200 In Reply by Nobody: 10:40pm On Dec 26, 2010
Heres the source code:

<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Example 3 </TITLE>
<SCRIPT language="JavaScript">
var TlxPgNm='id73';
</SCRIPT>
<META http-equiv="GENERATOR" CONTENT="Created with CuteSITE Builder, HTML Exporter 5.0.150">
</HEAD>
<BODY BGCOLOR="#DDDDDD" TEXT="#080000" LINK="#330099" ALINK="#330066" VLINK="#330066">
<!-- emitFramedPageBorderConditionalDiv(bFramelessBody=False), NO Edges -->
<div name="margins" style="margin-left:3px; margin-top:3px; margin-right:3px; ">
<div><FONT SIZE="5" COLOR="#330099" FACE="Arial,Helvetica,sans-serif"><B>Example 3</B><B> </B><B>- </B><FONT SIZE= 3 ><B>scrolling iFrame</B></FONT></FONT></div>

<bR>
<div><FONT SIZE="3" COLOR="#000080" FACE="AGaramond"><!-- Start Gem Insert your own HTML -->
<!--<IFRAME> scroller- By Dynamic Drive-->
<!--For full source code and more DHTML scripts, visit http://www.dynamicdrive.com-->
<!--This credit MUST stay intact for use-->

<iframe id="datamain" src="external3.htm" width=400 height=100 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no></iframe>
<!-- End Gem Insert your own HTML -->
</FONT></div>
<bR>
<div><FONT SIZE="3" COLOR="#660099" FACE="Arial,Helvetica,sans-serif"><B>About this example: &nbsp;&nbsp;&nbsp;</B><FONT SIZE= 2 ><B>(See Modifications for instructions)</B></FONT></FONT></div>
<bR>
<div style="margin-left:24px; "><FONT SIZE="2" COLOR="#000080" FACE="Arial,Helvetica,sans-serif">The background color on this iFrame page is the <B>SAME color</B> as the Contents page so<B> it blends.</B></FONT></div>

<div style="margin-left:24px; "><FONT SIZE="2" COLOR="#000080" FACE="Arial,Helvetica,sans-serif">The top scroll speed &nbsp;has been set to<FONT COLOR="#6600FF"><B> 4</B></FONT> &nbsp;- <B>mouseover will SPEED UP scrolling action </B></FONT></div>
<div style="margin-left:24px; "><FONT SIZE="2" COLOR="#000080" FACE="Arial,Helvetica,sans-serif">The bottom scroll speed has been set to<FONT COLOR="#6600FF"><B> 1</B></FONT> - <B>slow down text scrolling</B> (set to 2 in other examples).</FONT></div>

<div style="margin-left:24px; "><FONT SIZE="2" COLOR="#000080" FACE="Arial,Helvetica,sans-serif">This page displaying Example 3 - scrolling iFrame is: <A HREF="id73.htm" TARGET="_blank" TITLE="id73.htm">id73.htm</A></FONT></div>
<div style="margin-left:24px; "><FONT SIZE="2" COLOR="#000080" FACE="Arial,Helvetica,sans-serif">The page being displayed within the iFrame: <A HREF="external3.htm" TARGET="_blank" TITLE="external3.htm">external3.htm</A></FONT></div>
<bR>
<bR>
<bR>
<div><FONT SIZE="1" COLOR="#CC0000" FACE="Arial,Helvetica,sans-serif"><B>IMPORTANT: &nbsp;If you arrived on this plain gray page directly from a search engine, </B><A HREF="id43.htm" TARGET="_top" TITLE="iFrame Tutorial IFrames described in de"><B>CLICK HERE</B></A><B> for tutorial!</B></FONT></div>
</div>
</BODY>

</HTML>

Always check "page source" to see the code if your are browsing with mozilla

NB: I dnt need the card - thanks.
Re: Help Me Figure This And I Will Recharge Your Phone N200 In Reply by Faeb: 10:51pm On Dec 26, 2010
So you can post in normal size font? Wonders! shocked
There was no need to post in bold either, cos we can all see clearly enough to use the site.

Scrolling text is client side code, so the simple answer is, go to http://www.samisite.com/test-csb2nf/id73.htm and save the page as HTML. Voila! You'll have the full sources to peep at and hack off to your site.

PS; I don't need a recharge, thanks for the offer.
Re: Help Me Figure This And I Will Recharge Your Phone N200 In Reply by InesQor(m): 5:38pm On Dec 28, 2010
Inside contentpage.htm the DIV that contains your scrolling text should be coded thus:

<div id="datacontainer" style="position:absolute;left:0;top:10;width:100%" onMouseover="scrollspeed=4" onMouseout="scrollspeed=cache">

Cheers

(1) (Reply)

Building Large Scale Apps With Backbone.js / Urgent! / Watch Us Make A Game Using "Unreal Engine 3" (ps3/pc)

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 24
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.