Pages: 12
You are viewing a post by shakiro214. View all 32 posts in [quote][b] :ninja: Hi there. Shakiro here. you can share your j@v@$cript tricks or C$$ tricks(not layouts) here your mysp@ce profile requires a linker for these tricks to work[/b][/quote] [align=cen.
[align=center][b]Comment Box with Smilies[/b]
[img]http://h1.ripway.com/elgwapo0/images/gomen.JPG[/img][/align]
This is a functioning Comment Box. It will still redirect you to the preview page, but still... I think it works perfectly
* For this to work, it requires that you have an addBox function and that all 3 links from the profile info box are present: Image link to profile, Pics & Vids. The javascript will extract the random Token from the 3rd link, which is the Vids link. If they are in there, then just follow the steps:
[b]Step 1:[/b] Copy the code:
<">[b]Step 2:[/b] Insert your [b]friendID[/b] by replacing the [b]?????????[/b] from the code above with your [b]friendID[/b]
[b]Step 3:[/b] use addBox. If you use this with addBox 1.0, then this is what your addBox function should look like:
[quote]addBox("<center>Add Comment</center>",gomen,"right");[/quote]
* place below the code for [b]Step 1[/b] or right after the var [b]gomen[/b]
[b]Step 4:[/b] Editing, Removing & Adding Smilies
just follow the format for each image that you want: give a url, and assign the 2 instances of
[b]#[/b] with a [b]number[/b]:
[quote]<a id='mage#' href='javascript:mage(mage#.innerHTML);'><img src='URL_TO_SMILIE'/></a>[/quote]