|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
please have someone help me!
I "must" create the scroll from right to the left of an html page positioning it in iframe. In that way user have the impression to see a banner . Javascript command for a script using "normal" frames is: parent.frames but, for iframe????????? thanks very much |
|
#2
|
|||
|
|||
|
MS documentation says an IFRAME is like a FRAME in a document. You can access to the IFRAME content with
'windows.frames[name_of_iframe]' (if you are accessing from the doc that generated de IFRAME). For example windows.frames['name'].document.body.scrollHeight returns the height of the doc inside the frame 'name'. But sometimes, if you want to access some style properties of the frame from the doc that generated the frame you have to use document.all['name_of_iframe']. For example, document.all[nombre].style.height returns the actual height of the iframe. If you are accessing from a child you have to use then parent.frames[] or parent.document.all[] |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > iframe helpppppppppppp |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|