View Full Version : Adding Codes
athomps
01-18-2008, 01:11 PM
I am just getting into this.......but, was wondering how I can copy an already existing html code onto a blank page? I have tried but there is not paste option when right clicking. I tried to use word and then upload could not do that either...anyone know?
What am I trying to do?
I found on line some "gadgets" for a site that I am building and they have given the codes to use these. I want to incorporate them into my site. Not sure how to do this?
Thanks
jefito
01-18-2008, 06:06 PM
There are numerous ways to insert code. I always use the custom script assistant under the "tools" menu. You can paste your code directly into it.
However, you need a placeholder. The easiest way is to draw a box, or use an object, click on it to select, then choose the custom script assistant to paste in, then hit preview.
There are all sorts of different techniques for this and this question comes up quite often here. You can check out other threads for more ideas.
athomps
01-19-2008, 08:44 PM
Well, I figured out the steps and it worked all except the PREVIEW? I attempted different codes ect. and if images they preview with the all to familiar X and a box and if if wording....nothing comes up just plain page? Any thoughts?
A.T.:confused:
athomps
01-19-2008, 09:21 PM
So if I put in the text (code) when I preview the page it just shows the "code" I put in that's it? It doesn't actually "turn it into" what it is supposed to? Someone help?:confused:
What Jeffto has desccribed has always worked for me. My counter is the only thing that wouldn't show up on the preview when posting html code...But it shows up after publishing.
For my ads, I've inserted rich text, link, and insert code into custom script. I can atleast see where the add is going to go, then remove the verbage later.
jefito
01-23-2008, 05:34 PM
It sounds like you have an open tag somewhere, for example: body><font>
Notice on the "body" tag, the open bracket is missing. When you preview, and only see the "html" version of your code, scan it carefully for any open, or missing tags. It's tricky! Sometimes, I'll even print the page so I can go over it carefully.
Also, if your text will not display at all, choose the "bring to front" option from the arrange menu.
As for your images, make sure they are in the same folder as everything else. If you're writing image code make sure it's structured correctly and has the exact dimensions like: <img src="myimage.jpg" width="44" height="124">
(image dimensions will show up simply by mousing over the image. It will say 44x124 pixels).
In some cases, the images need to be told where they're coming from. In a case like this it would be: <img src="mainfolder/myimage.jpg" width="44" height="124">
athomps
01-23-2008, 09:09 PM
Jeff,
Thanks your answers to all my posts help so much! Appreciate them!:D
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.