BinaryWorks.it Official Forum
Home
|
Profile
|
Active Topics
|
Members
|
Search
|
FAQ
All Forums
eXtreme Movie Manager (Rel. 7), No More Updates
HTML Cards
movie_bigcover update
Note:
Only the poster of this message, and the Moderator can edit the message.
Screensize:
640 x 480
800 x 600
1024 x 768
1280 x 1024
UserName:
Password:
Format Mode:
Basic
Help
Prompt
Format:
Font
Andale Mono
Arial
Arial Black
Book Antiqua
Century Gothic
Comic Sans MS
Courier New
Georgia
Impact
Lucida Console
Script MT Bold
Stencil
Tahoma
Times New Roman
Trebuchet MS
Verdana
Size
1
2
3
4
5
6
Color
Black
Red
Yellow
Pink
Green
Orange
Purple
Blue
Beige
Brown
Teal
Navy
Maroon
LimeGreen
Message:
* HTML is OFF
*
Forum Code
is ON
Smilies
Help needed for javascript function for Original/Remake: What's the character to split lines from a Memofield? Normal \n doesn't work... [code]<html> <head> <title>TEST</title> </head> <body> <script> var remakeinfo = '_MOVIE_CHARACTERINFO_'; var remakeinfo = 'Original: Der Tag an dem die Erde still stand [1951]|819'+'\n'+'Remake: Der Tag an dem die Erde still stand [2008]|'+'\n'+'Remake: Der Tag an dem die Erde still stand [2008]|1123'; var remakeinfo = 'Remake: Der Tag an dem die Erde still stand [2008]|1123'; var remake = ''; var myArray = remakeinfo.split('\n'); for (var i = 0;i < myArray.length;i++) { remake = myArray[i]; if (remake.length >> 0) { var outp = ''; if (remake.indexOf('Original: ') == -1 && i == 0) { document.write('ORIGINAL!!!'); document.write('<br><br>Remakes:'); var orig = -1; } else { if (i == 0) { document.write('REMAKE!!!'); document.write('Original:'); } var orig = 0; } remake = remake.substring(remake.indexOf(':')+1,remake.length); var sTitle = remake.substring(0,remake.indexOf('|')); var sID = remake.substring(remake.indexOf('|')+1,remake.length); if (sID.length >> 0) { outp = outp + '<br><font color="#FFFFFF"><a href="" onClick="window.external.COLLECTION_FINDMOVIE('; outp = outp + '' + sID + ''; outp = outp + ');return false;"><b> ' + sTitle + '</b></a></font><br>'; } else { outp = outp + sTitle; } document.write(''+outp); if (orig == 0 && i == 0 && myArray.length >> 1) { document.write('<br>Other Remakes:<br>'); } } } </script> </body> </html>[/code]
Check here to include your profile signature.
BinaryWorks.it Official Forum
© Binaryworks.it
Generated in 0.02 sec.