SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast sarmenhb's Avatar
    Join Date
    Sep 2006
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    pages that load witout frames

    hi i got a question that i have been wondering about for a long time now

    a webpage like this

    http://www.lacasting.com/la_home.asp

    witout the asp coding in it.

    how is it created witout frames?
    if i were to make something like that i would set up frames and setup a target location to a location box on the other side like _main
    but alot of pages are created like that , that when i view the source code i dont see any frame code i just see the source code for the entire page.. and i just cant figure out how it all works,


    thanks

  2. #2
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,053
    Mentioned
    187 Post(s)
    Tagged
    2 Thread(s)

    includes?

    Hi sarmenhb, welcome to the forums,
    I'm guessing that all the pages are different, but with lots of common content.
    This gives the appearance that only a portion of the page is changing. But with no frames.
    The code (in PHP) would look something like
    PHP Code:
    <?php
    include "top_header.php";
    include 
    "left_sidebar.php";
    $main_content $template->page('home');
    echo 
    $main_content;
    include 
    "right_sidebar.php";
    include 
    "bottom_footer.php";
    ?>
    Then the nav links determine what info is shown for the page's main content.

  3. #3
    SitePoint Enthusiast sarmenhb's Avatar
    Join Date
    Sep 2006
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks for that comment
    but all that does is hide the code in the view-source code location


    since im sort of new to the web design world and am just starting to like it after many years of hating it and already knew html and css + im currently studying php so i understood some of that code

    but what i wanted to know is pages such as that, that i gave you
    or this one

    http://www.elderscrolls.com/home/home.htm

    the menu on the top, everytime a submenu item is clicked and a new page loads, are they just putting the same menu organized to fit the theme of the page on ever page?

    do you get what im trying to say?


    thanks so much

  4. #4
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,053
    Mentioned
    187 Post(s)
    Tagged
    2 Thread(s)

    site design

    Quote Originally Posted by sarmenhb
    hide the code in the view-source
    Actually the php files would generate the mark-up that is visible in view-source.
    On closer look at the view-source of the site in your first link I do indeed see frames.
    Code:
    <HTML>
    <HEAD>
    <TITLE>Casting Networks Inc., Los Angeles</TITLE>
    <SCRIPT language="JavaScript" TYPE="text/JavaScript">
    document.domain='lacasting.com';
    </SCRIPT>
    <STYLE TYPE="text/css">
    <!--
    body {
    	margin: 0px;
    }
    -->
    </STYLE>
    <META NAME="keywords" CONTENT="Los angeles, Losangeles, LA, workshops , auditions , acting , casting calls , audition notices , talent , los angeles actor, la actor, audition , reel pros , filmmaking , auditioning , theatre , performing art , la castings , los angeles casting, ross reports , stage  , dramalogue , headshots , grant wilfley , drama logue ,  film , actors equity , screen actor's guild , castings , actornews , actor's , screen actors guild , creative acting company , actors studio , actor's guild , auditioned , actors equity association , john robert powers , directors , actorsite ,  performing arts , castnet , sag , showfax , film, filming , backstage , backstage.com, voice over , breakdowns , agency , performers , production , young performers , extras , casting call , comedian, comedy , improv, drama, fame, working actor">
    </HEAD>
    <BODY SCROLL="no">
    <!-- IFRAME -->
    <IFRAME NAME="web" ID="web" SRC="/frontend/home.asp" WIDTH="100%" HEIGHT="100%" FRAMEBORDER="0"></IFRAME>
    <!-- END IFRAME -->
    </BODY>
    
    </HTML>
    The src of the iframe, /frontend/home.asp is another complete page
    Code:
    <HTML>
    <HEAD>
    <TITLE>Casting Networks Inc., Los Angeles</TITLE>
    <SCRIPT language="JavaScript">
    <!--
    var thisNav = 'home.asp';
    // -->
    </SCRIPT>
    <SCRIPT language="JavaScript" SRC="js/fe_content.js" TYPE="text/JavaScript"></SCRIPT>
    <LINK HREF="cni-front.css" REL="stylesheet" TYPE="text/css">
    </HEAD>
    <BODY>
    <!--  -->
    <TABLE WIDTH="760" BORDER="0" CELLSPACING="5" CELLPADDING="0">
    <TR>
    <TD WIDTH="146" VALIGN="TOP">
    <!--  -->
    
    <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0>
    <TR> 
    <TD BGCOLOR="#3174C8"><IMG SRC="img_hometest/login2.gif" WIDTH=146 HEIGHT=22></TD>
    </TR>
    <TR> 
    <TD ALIGN="CENTER" CLASS="outcell">
    <!--  -->
    <TABLE BORDER="0" ALIGN="CENTER" CELLPADDING="0" CELLSPACING="0">
    <FORM NAME="LOGIN" METHOD="POST" ACTION="/login.asp" TARGET="_top">
    <TR> 
    <TD WIDTH="138" CLASS="small">&nbsp;Username:</TD>
    </TR>
    <TR> 
    <TD ALIGN="CENTER"> <INPUT NAME="login" TYPE="text" CLASS="clear" STYLE="width:124px;height:18px" SIZE="12"> 
    </TD>
    
    </TR>
    <TR> 
    <TD CLASS="small">&nbsp;Password:</TD>
    </TR>
    <TR> 
    <TD ALIGN="CENTER"> <INPUT NAME="password" TYPE="PASSWORD" CLASS="clear" STYLE="width:124px;height:18px" SIZE="12"> 
    </TD>
    </TR>
    <TR> 
    <TD ALIGN="CENTER"> <TABLE BORDER="0" CELLPADDING="1" CELLSPACING="0" BGCOLOR="#3782E1">
    <TR> 
    <TD> <INPUT NAME="Submit" TYPE="submit" CLASS="button" STYLE="width:124px;height:19px" VALUE="Login"> 
    </TD>
    
    </TR>
    </TABLE>
    <!--  -->
    </TD>
    </TR>
    <TR> 
    <TD ALIGN="CENTER"><IMG SRC="img_memberlogin/spacer.gif" WIDTH="1" HEIGHT="1"></TD>
    </TR>
    <INPUT TYPE=hidden NAME=L VALUE=2>
    <INPUT TYPE=hidden NAME=LISTNO>
    <INPUT TYPE=hidden NAME=PROJID>
    <INPUT TYPE=hidden NAME=CRYPT>
    <INPUT TYPE=hidden NAME=R VALUE="LA">
    </FORM>
    </TABLE>
    <!--  -->
    </TD>
    
    </TR>
    <TR> 
    <TD><IMG SRC="img_hometest/sidebar_btm2.gif" WIDTH="146" HEIGHT="18"></TD>
    </TR>
    </TABLE>
    <!--  -->
    <IMG SRC="img_homepage/spacer.gif" WIDTH="100" HEIGHT="2"><A HREF="act.asp?content=act_sidesb.asp" TARGET="_parent"><IMG SRC="img_hometest/sides.gif" ALT="FREE SIDES!" TITLE="FREE SIDES!" WIDTH="146" HEIGHT="44" BORDER="0"></A>
    <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">
    <TR>
    <TD><A HREF="act.asp?content=act_updatephotos.htm" TARGET="_parent"><IMG SRC="img_hometest/uploadphotos.gif" WIDTH="146" HEIGHT="62" BORDER="0"></A></TD>
    </TR>
    <TR>
    <TD BGCOLOR="#628DC4" STYLE="padding: 6px;"><FONT COLOR="#FFFFFF">If you are currently a member you can update your photos online.</FONT><BR>
    <BR>
    <A HREF="act.asp?content=act_updatephotos.htm" TARGET="_parent" CLASS="white" STYLE="	text-decoration: underline;">Click here for details.</A><BR>
    
    &nbsp;</TD>
    </TR>
    </TABLE>
    <!-- -->
    <IMG SRC="img_homepage/spacer.gif" WIDTH="100" HEIGHT="6">
    <TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" BGCOLOR="#E8ECF3">
    <TR>
    <TD><A HREF="all_contact.htm" TARGET="_self"><IMG SRC="img_hometest/locations2.gif" WIDTH=146 HEIGHT=22 BORDER="0"></A></TD>
    </TR>
    <TR>
    <TD CLASS="tdmenuout" STYLE="padding: 4px;"
        onMouseOver="this.className='tdmenuover';" 
    				onMouseOut="this.className='tdmenuout';"
    				onClick="location.href='all_contact.htm';"><IMG SRC="img_layout/tri.gif" ALT= WIDTH="9" WIDTH="9" HEIGHT=9 BORDER=0>&nbsp;Hollywood</TD>
    </TR>
    <TR>
    <TD CLASS="tdmenuout" STYLE="padding: 4px;"
        onMouseOver="this.className='tdmenuover';" 
    				onMouseOut="this.className='tdmenuout';"
    				onClick="location.href='all_contact.htm';"><IMG SRC="img_layout/tri.gif" ALT= WIDTH="9" WIDTH="9" HEIGHT=9 BORDER=0>&nbsp;Los 
    Angeles</TD>
    </TR>
    
    <TR>
    <TD CLASS="tdmenuout" STYLE="padding: 4px;"
        onMouseOver="this.className='tdmenuover';" 
    				onMouseOut="this.className='tdmenuout';"
    				onClick="location.href='all_contact.htm';"><IMG SRC="img_layout/tri.gif" ALT= WIDTH="9" WIDTH="9" HEIGHT=9 BORDER=0>&nbsp;Studio 
    City</TD>
    </TR>
    <TR>
    <TD CLASS="tdmenuout" STYLE="padding: 4px;"
        onMouseOver="this.className='tdmenuover';" 
    				onMouseOut="this.className='tdmenuout';"
    				onClick="location.href='all_contact.htm';"><IMG SRC="img_layout/tri.gif" ALT= WIDTH="9" WIDTH="9" HEIGHT=9 BORDER=0>&nbsp;West Los Angeles</TD>
    </TR>
    <TR>
    <TD><IMG SRC="img_hometest/sidebar_btm2.gif" WIDTH="146" HEIGHT="18"></TD>
    </TR>
    </TABLE></TD>
    <TD ALIGN="CENTER" VALIGN="TOP">
    <TABLE BORDER="0" ALIGN="CENTER" CELLPADDING="0" CELLSPACING="0">
    <TR> 
    <TD WIDTH="391" HEIGHT="70" ALIGN="CENTER">
    <OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" WIDTH="391" HEIGHT="70">
    
    <PARAM NAME="movie" VALUE="img_hometest/auditioncount2006d.swf?audDisplayDate=9/22/2006&audTotalCount=2,869,788&audDisplayDayCount=3,418&audDisplayWeekCount=18,168&audDisplayYearCount=645,247">
    <PARAM NAME="quality" VALUE="high">
    <EMBED SRC="img_hometest/auditioncount2006d.swf?audDisplayDate=9/22/2006&audTotalCount=2,869,788&audDisplayDayCount=3,418&audDisplayWeekCount=18,168&audDisplayYearCount=645,247" QUALITY="high" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" TYPE="application/x-shockwave-flash" WIDTH="391" HEIGHT="70"></EMBED>
    </OBJECT></TD>
    </TR>
    <TR> 
    <TD ALIGN="CENTER"><IMG SRC="img_homepage/spacer.gif" WIDTH="100" HEIGHT="5"></TD>
    </TR>
    <TR> 
    <TD ALIGN="CENTER"><A HREF="act.asp?content=act_registration_agent.htm" TARGET="_parent"><IMG SRC="img_homepage/accountpackages.gif" WIDTH="391" HEIGHT="99" BORDER="0"></A> </TD>
    </TR>
    <TR>
    <TD ALIGN="CENTER"><IMG SRC="img_homepage/spacer.gif" WIDTH="100" HEIGHT="5"></TD>
    </TR>
    <TR>
    <TD ALIGN="CENTER"><IMG SRC="img_registration/directcast.gif" WIDTH="391" HEIGHT="130" BORDER="0" USEMAP="#dcBanner"></TD>
    
    </TR>
    <TR>
    <TD ALIGN="CENTER"><IMG SRC="img_homepage/spacer.gif" WIDTH="100" HEIGHT="5"></TD>
    </TR>
    <TR> 
    <TD ALIGN="CENTER">
    <!--  -->
    <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">
    <TR> 
    <TD><A HREF="javascript:NewWindow('http://lacasting.com/resumedisplay.asp?crypt=diagnimephhohdjjcljpdikkoinckgoj','samplea','740',''+screen.availHeight+'','yes','yes');" onMouseOver="return escape('Actor: Maura Megan Knowles<BR>Photographer: Brant Brogan<BR>www.broganphoto.com<BR>click for resume<BR>')"><IMG SRC="img_hometest/maura.gif" WIDTH="92" HEIGHT="105" BORDER="0"></A></TD>
    <TD><A HREF="all_mediapage.htm" TARGET="_self"><IMG SRC="img_hometest/mmresume.gif" ALT="Click for more information about a Multi-Media Resume." TITLE="Click for more information about a Multi-Media Resume." WIDTH="299" HEIGHT="105" BORDER="0"></A></TD>
    </TR>
    </TABLE>
    <!--  -->
    </TD>
    </TR>
    </TABLE>
    
    <!--  -->
    <MAP NAME="dcBanner" ID="dcBanner">
    <AREA SHAPE="RECT" COORDS="5,2,195,127" HREF="dc.asp?content=act_dc_quickhelp.htm" TARGET="_parent">
    <AREA SHAPE="RECT" COORDS="199,3,387,128" HREF="javascript:NewWindow('http://lacasting.com/indie/NewIndieUser.asp','newindie', '478', ''+screen.availHeight+'', 'yes','yes','no','no','no');" ALT="Click here to create a new account.">
    </MAP>
    </TD>
    <TD VALIGN="TOP">
    <!--  -->
    <TABLE BORDER="0" CELLSPACING="1" CELLPADDING="0">
    <TR>
    <TD ALIGN="CENTER"><IMG SRC="img_registration/registeronline_small_right.gif" WIDTH="175" HEIGHT="133" BORDER="0" USEMAP="#RegisterOnline"></TD>
    </TR>
    <TR> 
    <TD><IMG SRC="img_hometest/talentscout.gif" WIDTH="175" HEIGHT="133" BORDER="0" USEMAP="#TalentScout"></TD>
    </TR>
    <TR> 
    <TD><IMG SRC="img_homepage/spacer.gif" WIDTH="100" HEIGHT="5"></TD>
    
    </TR>
    <TR> 
    <TD><A HREF="act.asp?content=act_photographers.asp" TARGET="_parent"><IMG SRC="img_hometest/photographergallery_la2.gif" WIDTH="175" HEIGHT="108" BORDER="0"></A></TD>
    </TR>
    </TABLE>
    <!--  -->
    <MAP NAME="TalentScout" ID="TalentScout">
    <AREA SHAPE="rect" COORDS="70,6,172,129" HREF="act.asp?content=act_talentscout.htm" TARGET="_parent" ALT="Click for more information about our Talent Scout program." TITLE="Click for more information about our Talent Scout program.">
    <AREA SHAPE="rect" COORDS="2,7,69,130" HREF="javascript:NewWindow('http://lacasting.com/Resumedisplay.asp?crypt=diagnimephhohdjjcljpdikgpkgpkoab','samplea','740',''+screen.availHeight+'','yes','yes');" onMouseOver="return escape('Actor: Rex Lee<BR>Agency: Dragon<BR>Photographer: Montana USA<BR>www.montanausa.net<BR>click for resume<BR>')">
    </MAP>
    <MAP NAME="RegisterOnline" ID="RegisterOnline">
    <AREA SHAPE="RECT" COORDS="1,0,67,133" HREF="javascript:NewWindow('http://lacasting.com/Resumedisplay.asp?crypt=diagnimephhohdjjcljpdljbhandobee','samplea','740',''+screen.availHeight+'','yes','yes');" onMouseOver="return escape('Actor: Beau Danner<BR>Photographer: www.toshikophoto.com<BR>click for resume<BR>')">
    <AREA SHAPE="RECT" COORDS="68,4,172,132" HREF="act.asp?content=act_talentsignup.htm" TARGET="_parent">
    </MAP></TD>
    </TR>
    </TABLE>
    <SCRIPT language="JavaScript" TYPE="text/JavaScript">
    parent.setIframeHeight('ifrm');
    
    </SCRIPT>
    <!-- Start of StatCounter Code -->
    <SCRIPT TYPE="text/javascript" language="javascript">
    var sc_project=433478; 
    var sc_invisible=1; 
    var sc_partition=2; 
    var sc_security=""; 
    var sc_remove_link=1; 
    </SCRIPT>
    
    <SCRIPT TYPE="text/javascript" language="javascript" SRC="http://www.statcounter.com/counter/frames.js"></SCRIPT><NOSCRIPT><IMG  SRC="http://c3.statcounter.com/counter.php?sc_project=433478&java=0&security=&invisible=1" ALT="web tracker" BORDER="0"> </NOSCRIPT>
    <!-- End of StatCounter Code -->
    <SCRIPT language="JavaScript" SRC="js/wz_tooltip.js" TYPE="text/JavaScript"></SCRIPT>
    </BODY>
    </HTML>

  5. #5
    SitePoint Enthusiast sarmenhb's Avatar
    Join Date
    Sep 2006
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    lol, thanks i cant believe i didnt try that routh to check whats inside

    its not a bad idea towards the noob in hiding the source code


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •