Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 6 of 6
  1. #1
    JR
    JR is offline
    Senior Member JR's Avatar
    Join Date
    Nov 2002
    Location
    UK
    Posts
    4,354
    Member #
    257
    i am currently editing some code to make a slide in iframe, but i need some help. The files i have attached are slide.htm (the main page) and menu.htm (the iframe)

    would it be possible to add the following code:

    onMouseover="if ((document.all||document.getElementById)&&window.p arent.pull) window.parent.pull()"
    which is found in the body of menu.htm to a picture in menu.htm so either the iframe can be manually dragged out or the image has to be clicked for the iframe to slide in.

    thanks. :classic:
    JR

  2.  

  3. #2
    JR
    JR is offline
    Senior Member JR's Avatar
    Join Date
    Nov 2002
    Location
    UK
    Posts
    4,354
    Member #
    257
    heres the other page

    another question is it possible to attach two files in the same post?
    JR

  4. #3
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    Originally posted by jravenscroft
    another question is it possible to attach two files in the same post?
    Nope.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  5. #4
    JR
    JR is offline
    Senior Member JR's Avatar
    Join Date
    Nov 2002
    Location
    UK
    Posts
    4,354
    Member #
    257
    ok i have put it in the img tag and it works if i change it to onmousedown. but i want it to be onclick of the image for the iframe to slide out

    i have tried the following:

    <a src="#" onclick="if ((document.all||document.getElementById)&&window.p arent.pull) window.parent.pull()"><img src="../forward.gif" width="10" height="10"></a>
    and

    <img src="../forward.gif" width="10" height="10" onclick="if ((document.all||document.getElementById)&&window.p arent.pull) window.parent.pull()">
    but both returned the following error -
    'pullit' is undefined

    any ideas?

    thanks.
    JR

  6. #5
    Junior Member
    Join Date
    Nov 2002
    Posts
    4
    Member #
    265
    Try modifying/using the script here:
    http://www.dynamicdrive.com/dynamici...lideinlink.htm

    Then place your iframe within the div.
    Good luck.

  7. #6
    JR
    JR is offline
    Senior Member JR's Avatar
    Join Date
    Nov 2002
    Location
    UK
    Posts
    4,354
    Member #
    257
    yeah i got it sorted by doing that.

    thanks alot.
    JR


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 03:48 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com