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.

Page 2 of 2 FirstFirst 1 2
Results 11 to 14 of 14
  1. #11
    Senior Member seanmiller's Avatar
    Join Date
    Sep 2003
    Location
    Glastonbury, UK
    Posts
    868
    Member #
    3263
    Liked
    1 times
    Quote Originally Posted by benreynolds4
    hey thanks very much...

    it's up now..

    www.palacepalace.com/gallery.php

    works a treat..
    :-)

    Glad to have been of help.

    Sean

  2.  

  3. #12
    Junior Member
    Join Date
    Feb 2008
    Posts
    24
    Member #
    16485
    sean..
    it's going fine....but i see that there is no way of getting it all to fit on the screen..

    i see that divs can't sit above iframes...

    do you have a work around..


    HTML Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="content-type" content="text/html;charset=x-sjis">
    <title>LinkHall</title>
    
    
    <style type="text/css">
    html, body, iframe { margin:0; padding:0; height:100%;  }
    iframe { display:block; width:50%; height:50%; border:0; }
    </style>
    
    <script language="JavaScript">
    <!--
    var sURL = unescape(window.location.pathname);
    function refresh()
    {
        window.location.href = sURL;
    }
    //-->
    </script>
    
    </head>
    <body>
    
    <td><img src="title.gif" height="50px"></img></td> 
    
    <span>
    <a href="javascript:refresh()">New Links</a>,
    <a href="http://www.palacepalace.com/">About</a> , 
    <a href="mailto:contact@palacepalace.com">Contact</a> and
    <a href="http://www.wikipedia.org/">Help</a>.
    </span>
    
    <br />
    
    <iframe src="http://www.jmcolberg.com/weblog/archives/MatthieuGafsou.jpg"   width="50%" height="50%" align="left" ></iframe>
    <iframe src="http://fecalface.com/artists/amy_stein/15-Trasheaters.jpg"   width="50%" height="50%" align="top" align="right"></iframe>
    <iframe src="http://reconstruction.eserver.org/052/cole.shtml"   width="50%" height="50%" align="right"></iframe>
    <iframe src="http://youtube.com/watch?v=SBI5-icTytQ"   width="50%" height="50%" align="bottom"></iframe>
    
    <br />
    
    <div>
    Proudly supported by:<br />
    <img src="http://palacepalace.com/02_bg-images/080306_construction-image-2.jpg" 	height="50px" />
    <img src="http://www.melbourne.vic.gov.au/brand.cfm?img=CoM_Main:CoM_Logo" 	height="50px"/>
    <img src="http://img296.imageshack.us/img296/3537/untitled1gt3.jpg" height="50px"/>
    <img src="http://mams.rmit.edu.au/wbzlf19ptk78z.gif" height="50px"/>
    <a href="http://www.addthis.com/bookmark.php"
    onclick="addthis_url   = location.href; 
    addthis_title = document.title; 
    return addthis_click(this);" target="_blank">
    <img src="http://s9.addthis.com/button0-share.gif" width="83" height="16" border="0" alt="Bookmark and Share" /></a>
    <script type="text/javascript">var addthis_pub = 'benreynolds4';</script>
    <script type="text/javascript" src="http://s9.addthis.com/js/widget.php?v=10"></script>
    </div>
    
    </body>
    </html>

  4. #13
    Junior Member
    Join Date
    Feb 2008
    Posts
    24
    Member #
    16485
    oops

    here it goes again...


    PHP Code:
    <?php
            
    /* list of all possible sites */

            
    $sites   = array();
            
    $sites[] = "guallart.com/06dictionary/default.htm"
            
    $sites[] = "fredericteschner.com/?gallery/graphisme/midi-festival/midi_05";
            
    $sites[] = "florianludwig.com/";
            
    $sites[] = "horsesthink.com/wp-content/uploads/2008/04/parr.jpg";
            
    $sites[] = "www.monu.org/mudot1/VNZ.pdf";
            
    $sites[] = "horsesthink.com/wp-content/uploads/2008/04/sander_1.jpg";
            
    $sites[] = "www.jmcolberg.com/weblog/archives/MatthieuGafsou.jpg";
            
    $sites[] = "reconstruction.eserver.org/072/drinkwater.shtml";
            
    $sites[] = "http://www.lulu.com/content/1070691";
            
    $sites[] = "fecalface.com/artists/amy_stein/15-Trasheaters.jpg";
            
    $sites[] = "we-make-money-not-art.com/wow/0aageliefden.jpg";
            
    $sites[] = "reconstruction.eserver.org/052/cole.shtml";
            
    $sites[] = "youtube.com/watch?v=SBI5-icTytQ";
            
    $sites[] = "d-e-p-i-c-t.com/02_Projects/01_india (8)_resize.jpg";

            
    /* now pick random 4 */

            
    $keys array_rand($sites,4);

            
    /* assign to variables */

            
    $site1 "http://" $sites[$keys[0]];
            
    $site2 "http://" $sites[$keys[1]];
            
    $site3 "http://" $sites[$keys[2]];
            
    $site4 "http://" $sites[$keys[3]];
    ?>
    HTML Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="content-type" content="text/html;charset=x-sjis">
    <title>LinkHall</title>
    
    
    <style type="text/css">
    html, body, iframe { margin:0; padding:0; height:100%;  }
    iframe { display:block; width:50%; height:50%; border:0; z-index:1;}
    div {z-index:2;}
    
    
    </style>
    
    <script language="JavaScript">
    <!--
    var sURL = unescape(window.location.pathname);
    function refresh()
    {
        window.location.href = sURL;
    }
    //-->
    </script>
    
    </head>
    
    <body>
    
    <div>
    <span>OpenLinks</span>
    <span>
    <a href="javascript:refresh()">New Links</a>,
    <a href="http://www.palacepalace.com/">About</a> , 
    <a href="mailto:contact@palacepalace.com">Contact</a> and
    <a href="http://www.wikipedia.org/">Help</a>.
    </span>
    </div>
    
    
    <iframe src="<? echo $site1; ?>"   width="50%" height="50%" align="left" ></iframe>
    <iframe src="<? echo $site2; ?>"   width="50%" height="50%" align="top" align="right"></iframe>
    <iframe src="<? echo $site3; ?>"   width="50%" height="50%" align="right"></iframe>
    <iframe src="<? echo $site4; ?>"   width="50%" height="50%" align="bottom"></iframe>
    
    
    <div>
    Proudly supported by:
    <img src="http://palacepalace.com/02_bg-images/080306_construction-image-2.jpg" height="50px" />
    <img src="http://www.melbourne.vic.gov.au/brand.cfm?img=CoM_Main:CoM_Logo" height="50px"/>
    <img src="http://img296.imageshack.us/img296/3537/untitled1gt3.jpg" height="50px"/>
    <img src="http://mams.rmit.edu.au/wbzlf19ptk78z.gif" height="50px"/>
    <a href="http://www.addthis.com/bookmark.php" 
    onclick="addthis_url   = location.href; 
    addthis_title = document.title; 
    return addthis_click(this);" target="_blank">
    <img src="http://s9.addthis.com/button0-share.gif" width="83" height="16" border="0" alt="Bookmark and Share" /></a>
    <script type="text/javascript">var addthis_pub = 'benreynolds4';</script>
    <script type="text/javascript" src="http://s9.addthis.com/js/widget.php?v=10"></script>
    </div>
    
    </body>
    </html>

  5. #14
    Senior Member seanmiller's Avatar
    Join Date
    Sep 2003
    Location
    Glastonbury, UK
    Posts
    868
    Member #
    3263
    Liked
    1 times
    Not sure what you mean when you say divs can't sit above of iframes...

    Obviously if you set up your iframes to each be 50%, 50%+50%=100% therefore they'll fill the screen between them...

    Another point, <span> tags are used to switch style inline... having <span>Hello<span><span>Goodbye</span> as you appear to have in your top nav appears to me to serve no purpose at all... what is is meant to do?

    Sean


Page 2 of 2 FirstFirst 1 2

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
  •  

Search tags for this page

random iframe

Click on a term to search for related topics.
All times are GMT -6. The time now is 04:47 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com