Welcome, Guest. Please Login or Register.
June 23, 2024, 02:33:18 AM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  ubbc.js « previous next »
Pages: [1] Reply Ignore Print
Author Topic: ubbc.js  (Read 750 times)
Hélène
Noobie
*
Posts: 1


I'm a llama!

ubbc.js
« on: January 09, 2002, 07:14:14 AM »
Reply with quote



i have create a new function in ubbc.js :

function image() {
    AddTxt1="[imge]YaBBImages/image.gif[/imge]";
    AddTxt2="nameoftheimage";
    AddText(AddTxt1);
    AddText(AddTxt2);
   }

i like this function work kind  like the cookies one  on the board , the image is display on the post page like the cookies one and when you click on it the message window show the text 'nameoftheimage' but when you prewiew you post in the prewiew wiewer on the top of the page this is the image that is shown [imge]YaBBImages/image.gif[/imge] , and in the final post too ....
I don't know if it is possible , for now i had add <a href="javascript:image()"><img src="$imagesdir/image.gif" align=bottom alt="imagename " border="0"></a> on post.php  , but i dont know how to make my fonction display AddTxt1 on the preview and the final post and AddTxt2 on the message box ....

If someone has an idea or can help me , i will be very greatfull !!!!

helene  
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  ubbc.js « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.026 seconds with 20 queries.