Forums
This topic is locked
inserting library items
Posted 04 Feb 2002 23:51:14
1
has voted
04 Feb 2002 23:51:14 kelly Lerbekmo posted:
Hi there. Does anyone know how to insert a lib item so that it's code doesn't show up it the 'design mode's cell'? I assume there's a place to turn this off...but I haven't seen anything yet.Help?
Belly
Replies
Replied 05 Feb 2002 23:16:53
05 Feb 2002 23:16:53 colin stevens replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Hi there. Does anyone know how to insert a lib item so that it's code doesn't show up it the 'design mode's cell'? I assume there's a place to turn this off...but I haven't seen anything yet.
Help?
Belly
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Hi there. Does anyone know how to insert a lib item so that it's code doesn't show up it the 'design mode's cell'? I assume there's a place to turn this off...but I haven't seen anything yet.
Help?
Belly
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Replied 05 Feb 2002 23:26:39
05 Feb 2002 23:26:39 colin stevens replied:
Oops had a problem with my password
Hi,
Have you ever tried php ?
It's a great and versatile scripting language. You don't have to know it well for it to work instead of the library item.
Make a new page ("yourpage.htm" and put whatever you want in there. I am using a flash file which is my navigation bar. Be sure everything on this page you're using the full URL ("yourdomain.com/your.swf") not ("../your.swf".
So now wherever I want this navigation bar to appear I put <?php include(" yourdomain.com/yourpage.htm" ?>
Now whenever you want to make a change, just change "yourpage.htm" and upload it and all the pages with the include function will be affected.
Also be sure the pages with the include function has '.php' as the extension instead of '.htm' or '.html'
It works like a charm for me.
Best Regards,
Colin
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Hi there. Does anyone know how to insert a lib item so that it's code doesn't show up it the 'design mode's cell'? I assume there's a place to turn this off...but I haven't seen anything yet.
Help?
Belly
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote><b></b>
Hi,
Have you ever tried php ?
It's a great and versatile scripting language. You don't have to know it well for it to work instead of the library item.
Make a new page ("yourpage.htm" and put whatever you want in there. I am using a flash file which is my navigation bar. Be sure everything on this page you're using the full URL ("yourdomain.com/your.swf") not ("../your.swf".
So now wherever I want this navigation bar to appear I put <?php include(" yourdomain.com/yourpage.htm" ?>
Now whenever you want to make a change, just change "yourpage.htm" and upload it and all the pages with the include function will be affected.
Also be sure the pages with the include function has '.php' as the extension instead of '.htm' or '.html'
It works like a charm for me.
Best Regards,
Colin
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Hi there. Does anyone know how to insert a lib item so that it's code doesn't show up it the 'design mode's cell'? I assume there's a place to turn this off...but I haven't seen anything yet.
Help?
Belly
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote><b></b>