Non-threaded

Forums » Advanced Editor Forum » Read Thread

Get help from the experts on variables, scripts, items, and other scary things.

What Is The Problem? Scripting Link Images

10 years ago

Ok, I know how to make images appear instead of links and also how to make it look like an open door/ close door thing, like Kiel_Farren did. 

But the script says it did not expect '<'. I'm not sure where in the script this error was made so can someone please look at it and tell me what's wrong?

Script:

<p align="center"><img src="http://chooseyourstory.com/resources/images/user/33875" onmouseover="this.src='http://chooseyourstory.com/resources/images/user/33876'" onmouseout="this.src='http://chooseyourstory.com/resources/images/user/33875'" /></p>

What Is The Problem? Scripting Link Images

10 years ago
Script language and HTML are two different things. The reason the script said it did not expect < is because that's not a line that should appear in the script window. Those lines should appear in the main text window.

What Is The Problem? Scripting Link Images

10 years ago
^ This

Move that onto the actual page, and it should work (so long as you don't use the rich-text editor).

What Is The Problem? Scripting Link Images

10 years ago

Thanks. I'll get back to you if it works. BTW: How do I know if I'm using rich text editor and if I am, how to change it?

What Is The Problem? Scripting Link Images

10 years ago
My Stuff --> Profile --> Preferences. There is a check box there for "Use Rich Text Editor."

Be sure to hit the "Update" button at the end.

What Is The Problem? Scripting Link Images

10 years ago

got it thanks!