I Need Help On Dhtml

Welcome. Please Login, Register, Or Activate! 
type your username and password to login
Date: November 24, 2009, 02:02 PM
431861 members and 298840 Topics
Latest Member: solutech
Nairaland [Nigerian Forum] Home Help Search Who is currently online? Login Register
Nairaland Forum  |  Technology  |  Programming  |  I Need Help On Dhtml
Pages: (1) Go Down Send this topic Notify of replies
Author Topic: I Need Help On Dhtml  (Read 503 views)
jackback (m)
I Need Help On Dhtml
« on: October 08, 2007, 02:30 PM »

ever visited zenith securities website, does anyone know how that scrolling stock report is done?if you have any experience on it,please send me a mail on jackbone_2_life@yahoo.com
jackback (m)
I Need Help On Dhtml
« #1 on: October 08, 2007, 02:31 PM »

ever visited zenith securities website, does anyone know how that scrolling stock report is done?if you have any experience on it,please send me a mail on jackbone_2_life@yahoo.com
onyekesimo (m)
Re: I Need Help On Dhtml
« #2 on: November 10, 2007, 07:21 PM »

You need a help but is like is not of important to you.

you have to write the website correctly. eg. www.zenithsecurities.com.

if you are set send me an E-mail. onyekesimon@fastermail.com
my2cents (m)
Re: I Need Help On Dhtml
« #3 on: November 12, 2007, 11:35 AM »

jackback,

I assume this is the site you are referring to: http://www.zenithsecuritiesng.com

If this is the case, I traced the code to this file: http://www.zenithsecuritiesng.com/scrollbondprice.php

If you, "view source" and scroll to the bottom of the source page, you will see a "Dynamic Drive DHTML" section.  This is the code that is used for the scroll.  Also, if you view the source of the home page, and search for "gainers", you will notice there is a <script> section that references the above PHP page:

<script type="text/javascript">

//specify path to your external page:
var iframesrcbp="scrollbondprice.php"

//You may change most attributes of iframe tag below, such as width and height:
   document.write('<iframe id="datamainbp" src="'+iframesrcbp+'" width="430px" height="150px" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>')
</script>   
      

I personally think there is a better way to present the scrolled information though.  What happens, for instance, if visitors to the site turn off javascript (yeah I know, not many people do that, but it is still reason to give me as a developer pause)?  Perhaps flash would be a better alternative?  I dunno, I am just thinking out loud here. Besides, there are people like me who find such scrolling nauseous. 

I hope this helps.
deejay50
Re: I Need Help On Dhtml
« #4 on: November 13, 2007, 07:40 PM »

The dynamic nature of the info means you can't use flash or any such animation. A simple marquee (or series of them) with dynamic variables, some CSS, DHTML would do the trick. I did something similar recently. Of course if its fed by a db then some server-side programming is needed. It's not too complicated.
my2cents (m)
Re: I Need Help On Dhtml
« #5 on: November 13, 2007, 08:16 PM »

so deejay,

Are you saying one couldn't use a combination of Flash and AJAX (or what some people call AFLAX) to dynamically generate and display the information? 

If so, I beg to differ.
 Programming Software Purchase  Free Internet Surfing Is Still On & Faster  Is Programming A Talent?  Page 2
Pages: (1) Go Up Send Topic to Friend by E-mail Reply 


Sections: Autos/Cars (2) Jobs/Vacancies (2) (3) Career Talk Education General(2) Politics Romance Computers Phones Travel
Sports Fashion Health Religion Celebrities TV/Movies (2) Music/Radio (2) Books Webmasters Programming

Links: Page1 Page2 Page3 Page4 Page5 Page6 Page7 Page8 Page9 Page10

Nairaland is owned by Oluwaseun Osewa. See also: Nairalist Classified Ads
Nairaland Forum | Powered by SMF 1.0.12.
© 2001-2005, Lewis Media. All Rights Reserved.