Expand/contract script

in Ideas and script requests
Subscribe to Expand/contract script 3 posts, 3 voices



nickodemos User
FirefoxWindows

The problem is that with to many tags our webpage looks like this.

http://img856.imageshack.us/img856/8154/browse0...

We would like to be able to shorten it so that only the first four listed names/tags are shown. (Or have it so that it can be tweaked by the hostmaster for how many they would want listed)

http://img220.imageshack.us/img220/7493/browse0...

The issues that we have is that all this is on one line. So would you need a regx to search for the first four?

Here is a bit of code to give you an idea. http://pastebin.com/A1QgwiiJ

I know this is a GM script place but I have received good help here before. Is it possible someone could throw together something that would work server-side?

 
mike cupcake Scriptwright
FirefoxMacintosh

Your image links have got mangled + appear to point to thumbnails. This forum doesn't use BBcode.

No idea if you'll find help with server-side code here but you'd need to specify what OS and environment you're running at least.

 
Jefferson Scher Scriptwright
FirefoxWindows

Do you have access to the server software, i.e., PHP script? It probably knows how many users there are and could insert a "More" feature directly into the page.