|
#1
|
||||
|
||||
|
Layers
I know HTML, CSS, Javascript, XML, some PHP and some ASP, and some basic perl.
But one thing I have never learnt how to do is layers!!! ![]() Can any one give me a quick overview or point me in the direction of a good guide? ![]() Thanks
|
|
#2
|
||||
|
||||
|
If you know Javascript & CSS then you basically know layers.
They have moved on alot since the early days and now you can make a layer out of many elements, the most popular would still be the DIV. Show/Hide scripts are basically layers. Some examples http://degs.co.uk/test/hct/show_hide_layers.htm http://degs.co.uk/test/hct/show_hide...maps_links.htm http://degs.co.uk/test/hct/show_hide_text5_mozilla.htm
__________________
Cheers, Degs Please post back with your results CTH Terms of Use CTH Subscriptions :: Adaware Guide :: HijackThis |
|
#3
|
||||
|
||||
|
So basicly every thing has an ID and that is put into the mouse over?
Think I get it, but ill ask my tutor to go over it with me on tuesday. Ment to be teaching me python but am sure can spare me 20mins ![]() Thanks Degsy. Also do they only work in IE? The javascript didnt work in FF. |
|
#4
|
||||
|
||||
|
The first two use document.all which is IE. The third used IDs and getElementBy etc and should work in FF.
__________________
Cheers, Degs Please post back with your results CTH Terms of Use CTH Subscriptions :: Adaware Guide :: HijackThis |
|
#5
|
||||
|
||||
|
Yes the third worked in FF.
Is there any way to do what document.all does with ID's? |
|
#6
|
||||
|
||||
|
Yes, see the third one.
__________________
Cheers, Degs Please post back with your results CTH Terms of Use CTH Subscriptions :: Adaware Guide :: HijackThis |
|
#7
|
||||
|
||||
|
Ar yes.
![]() Well the ID's work in FF and IE so is there any advantage of using document.all if ID's can do the same and works cross browser? |
|
#8
|
||||
|
||||
|
They are just old scripts that were written for IE.
You just need to update them with the getElementByName or getElementByID etc.
__________________
Cheers, Degs Please post back with your results CTH Terms of Use CTH Subscriptions :: Adaware Guide :: HijackThis |
|
#9
|
||||
|
||||
|
Ok thanks degsy
|
![]() |
| Bookmarks |
«
Previous Topic
|
Next Topic
»
| Topic Tools | |
|
|
All times are GMT +1. The time now is 09:39 AM.
[
RSS ]










