The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
A bit of JS/XHTML help here :D
I looked at an [expand] tag for vB 3.0.7 and decided that I could do it without any code modifications whatsoever!
However I have become stuck After adding the tag and the replacement code to create a collapsable / expandable box, using vB's expand/contract js functions, I realised something... If the [expand] tag is used more than once per page there will be conflict, as both boxes will have the same id :ermm: So I fixed this by adding the {option} variable to the id of the box... Then I thought "Well if someone uses the same box name elsewhere in the post and/or page of that thread, it will break again"... I've been trying to add a "randomnumber" function, but I'm stuck - I need to generate (and use) a random number in the id part of the table so that it never becomes a duplicate... Any tips/ideas/pointers? Satan |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|