Live Marquee Java Applet with php

Links for php scripts

Moderators: macek, egami, gesf

php-vikas
New php-forum User
New php-forum User
Posts: 164
Joined: Mon Apr 14, 2003 12:25 am
Location: India
Contact:

Live Marquee Java Applet with php

Postby php-vikas » Fri Apr 09, 2004 11:15 pm

Hello,

Can anyone tell me that is it possible to develop the Live Marquee Java Applet with php as shown in top of the following site.

http://www.bseindia.com/index_op.asp

Thanks.


Vikas Garg
http://www.dinsol.com/

Alex
New php-forum User
New php-forum User
Posts: 180
Joined: Fri Mar 07, 2003 4:59 pm
Contact:

Postby Alex » Sun Apr 11, 2004 4:10 pm

I beleive you could develop a similar applet using PHP and JavaScript. Ok first and foremost though, PHP and JavaScript(JS) dont really work well with each other.
Secondly if you really dont want to write any code there is a similar programs you can download HERE.
Finally the way your program will work is this you will create a JS applet that will setup the window for your marquee whichever way you want. then you can use php to say retreive data from a file or a database and then put it into javascript variables.
ex:

Code: Select all

<script language="JavaScript">
var somejsvar = <?php echo $somephpvar?>; </script>

From here if you need to manipulate the variables using JS go right ahead if not just display them werever you need. By the way, if you do not need to manipulate data using JS i would skip the assigning vars process and use PHP variables right in the JS print statements...


Return to “PHP Scripts”

Who is online

Users browsing this forum: No registered users and 1 guest