Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

over JavaScript !!

Status
Not open for further replies.

hisham

IS-IT--Management
Nov 6, 2000
194
I have the following JavaScript code, and I need to fetch item1-1, item1-2, … from mysql,
can I call them using php

<SCRIPT language=JavaScript>
var myScroller1 = new Scroller(0, 0, 119, 40, 0, 3);
myScroller1.setColors(&quot;#CC9933&quot;, &quot;#333333&quot;, &quot;#666666&quot;);
myScroller1.setFont(&quot;Arial,Verdana,Helvetica&quot;, 1);

myScroller1.addItem(&quot;item1-1&quot;);

myScroller1.addItem(&quot;item1-2&quot;);
var myScroller2 = new Scroller(0, 0, 119, 40, 0, 3);
myScroller2.setColors(&quot;#CC9933&quot;, &quot;#333333&quot;, &quot;#666666&quot;);
myScroller2.setFont(&quot;Arial,Verdana,Helvetica&quot;, 1);

myScroller2.addItem(&quot;item2-1&quot;);

myScroller2.addItem(&quot;item2-2&quot;);
 
And? ______________________________________________________________________
TANSTAAFL!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top