This is a discussion on "what does \\ mean in javascript" within the JavaScript Forum section. This forum, and the thread "what does \\ mean in javascript are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
what does \\ mean in javascript
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
what does \\ mean in javascript
im tryin to insert this javascript code in my page and customize it. It says in order to change anything, you must uncomment the script. does that mean to take out the \\ or the '' or what? im not very familar with javascript. here is the link http://www.dynamicdrive.com/dynamicindex2/fader.htm
|
|
|
|
|||
|
Yes, take the // out from the lines you want active.
These are the bits you are interested in...
|
|
|||
|
<font face="Arial Black"><font face="Andale Mono">ok thanks. do i do the same with changing the text?</font id="Andale Mono"></font id="Arial Black">
//1) Configure messages: var TS_message = new Array(); TS_message[0] = '<div align="left"></div>'; TS_message[1] = '<div align="left">Wow... hope you like it!</div>'; TS_message[2] = '<div align="left">Presented by Dynamicdrive.com</div>'; <font face="Arial Black"><font face="Andale Mono">just take out the // ,or take out //1)Configure messages: ? thnx</font id="Andale Mono"></font id="Arial Black"> |
|
|||
|
leave this bit alone:
//1) Configure messages: just change the contents of these: TS_message[0] TS_message[1] TS_message[2] |
|
|||
|
in case you dont understand, // comments out a line of code, and the code is not executed.
for example: //this line of code wont do anything this line of code will do something |
![]() |
| Tags |
| mean, javascript |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| php and javascript | yvettesio | JavaScript Forum | 8 | Mar 14th, 2007 23:18 |
| Javascript Help | Daniel | JavaScript Forum | 5 | Jan 4th, 2007 22:00 |
| JavaScript | cbrams9 | JavaScript Forum | 1 | Sep 20th, 2006 17:35 |
| using xml in javascript | shailu | JavaScript Forum | 0 | Jul 25th, 2006 07:36 |
| Can someone help me with this javascript | Galaxyblue | JavaScript Forum | 2 | Mar 11th, 2004 12:18 |