Having been a member and moderator at LEIA for a several years, I know theres a bunch of questions that get asked an awful lot, most daily without fail! So ive put together this little FAQs section...hopefully you'll find what your looking for but if not i do have some genuinly useful tips on finding what your looking for.
Go to Funky-Chickens and have a good look around..
Search google.com i swear 99% of the time the first link on the list will have your answer, if your stuck and cant get a code to work you'll also find if you type in "whatever it is your looking for GENERATOR" you'll find a site that will do the code for you!
If you need help on anything to do with javascript then go to The javascript source they have every code you could imagine there.
If you've seen something 'cool' like special link effects, groovy menus, special image effects, fancy scrollbars etc then try Dynamic drive and Bratta.com as most likely the code came from there!
Q. I added the code for coloured scrollbars but it doesnt work, they are still the default colours...why?
A. Coloured scrollbars only work in Internet Explorer 5.5 or higher, if your useing an older version you'll need to upgrade.
Q. I added the code for coloured scrollbars but its not changeing the iframe, just the main scrollbar...why?
A. You have to add the code to the page(s) that appear inside the iframe.
Q. How do i open links in a new window?
A. Add target="_blank" to the link code...
/* Code block */
<a href="http://www.swaymyway.com" target="_blank">Sway</a>
Q. How do i position thigs exactly where i want them on my page?
A. Use DIVs or Absolute positioning.
Q. How do i make my Iframes background transparent?
A. Theres 2 main ways to do this, the first is harder but recommended, open up your graphics program and 'cut up' the main image your useing so you have the area that will be used as your iframes background, lighten it so it looks how you want. Then code the 'pieces' back together with tables or use DIV to position your iframe in the right spot on the page and set the cut up/lightened image as the iframes background. The second way to do it is to simply add
/* Code block */
style="filter:alpha(opacity=85)"
to your iframes code...
/* Code block */
<iframe src="inline.html" width="144" height="237" frameborder="0" border="0" scrolling="yes" style="filter:alpha(opacity=85)"></iframe>
you can change the number 85 to anything you want, the lower the number the greater the transparency, the reason this method isnt as good is because it makes everything in the iframe transparent as well, the text, the images, the scrollbar etc.
Q. In IE6 theres that annoying menu that comes up when you hover a large image, how can i stop it from appearing?
A. Add /* Code block */ to your image code.
GALLERYIMG="no"
Q. Theres a horizontal scrollbar on my page, how do i get rid of it?
A. Firstly the only reason there would be a horizontal scrollbar is because the content is too wide for whatever it is that has the scrollbar...so the best thing would be to work out what and alter it, but if that fails you can add this code to the <body> tag, be carefull useing it though, anyone with a smaller resolution than you will not be able to scroll horizontally and it may make your layout unviewable...
/* Code block */
overflow-x:hidden;
Q. How do i make my background stay still? So the text scrolls but the background doesnt?
Add this to the <body> tag...
/* Code block */
bgproperties="fixed"
Q. How do i put images into a textarea?
A. You dont, the whole point of a textarea is that its for text and text alone, you'd have to use an iframe or scrollable DIV.
Q. How do i block my source code?
A. Simple answer, you don't. Theres a 100 ways out there that say they will block your source but no matter what people can and will still get it. So my suggestion is dont bother trying, no right click scripts and the like only annoy people.
Q. How do i make my drop down menu target frames?
You need to use the drop down menu code specifically for targeting frames, you can find the code here.
Q. How do i target tables and DIVs?
A. You can't, targetting is a frames thing. What you could do though is add an iframe inside the table cell or DIV you want to target.
If you have any questions or require further help on this tutorial please ask at Sway Forum where either myself or someone else will help you out. Any emails asking for help will be ignored.
< Back









