Jump to content


iframes and maraquee question


6 replies to this topic

#1 solitude

    Young Padawan

  • Members
  • Pip
  • 18 posts
  • Location:Texas, USA
  • Interests:Photoshop<br />Reading<br />Adventure like bunge jumping, hiking, surfing and million other things<br /><br />like traveling<br /><br />animals<br /><br />umm cooking is pride<br /><br />music<br />my fav singer is hilary duff i love her songs

Posted 09 August 2005 - 06:19 PM

hi umm i've made a template which is already sliced and coded i was wanting to know for the iframes thing

u know how if u want ur links to open in the content area and u use iframes for faster loading

well does the code have to have a rowspan #
cause i've tried but it places my iframe thing right next to my content box not on it
like example below
i changed this oh my content box is index_23

<TD COLSPAN=11>
<IMG SRC="images/index_23.gif" WIDTH=776 HEIGHT=269 ALT=""></TD>

<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=269 ALT=""></TD>
</TR>
<TR>


to this

<TD COLSPAN=11 background="images/index_23.gif" WIDTH=776 HEIGHT=269 ALT=""><iframe name="main" src="h.html" frameborder="0" AllowTransparency="true" width="776" height="269" scrolling="auto">Dont write here!</iframe></TD>

also about the maraquee thing

umm well i haven't uploaded my site or anything yet

but in notepad when i try to do the maraquee for affiliates
using the code so i can make the maraquee stop when mouse over

this is teh code before i changed it

<TD COLSPAN=10>
<IMG SRC="images/index_25.gif" WIDTH=771 HEIGHT=54 ALT=""></TD>

after i cahnged it to

<TD COLSPAN=10>
background="images/index_25.gif" width="770" height="54" alt="">
<marquee onMouseOver="this.stop()" onMouseOut="this.start()" direction="right" width="505" height="62">
<a href="http://solitudedesigns.cjb.net/" target="_blank"><img src="images/sda.jpg" border="0" title="Solitude Designs"></a>
</marquee>

</td>








well everything's fine except it doesn't show the affiliate background heres the code i put can anyone help me out tell me whats wrong or if they can code it for me i'll give them the file

give ur email if u want to do it that way

please help!!

#2 FK69

    Young Padawan

  • Members
  • Pip
  • 57 posts
  • Location:Melbourne, Australia

Posted 11 August 2005 - 07:22 AM

with the external pages loading in an iFrame it be something like this

<iFrame src="page.html" name="content" scrolling="auto" width="#" height="#" frameborder="0"></iframe>

and make your links like so.

<a href="LINK" Target="content">LINK</a>

this will open up a link in the iframe saving you from loading the images all the time.

with ur other questions if you post your code or something i'll proberly be able to help.

#3 adam123

    Retired P2L Staff

  • Members
  • PipPipPipPip
  • 2,306 posts
  • Location:London, UK
  • Interests:Programming and stuff.

Posted 11 August 2005 - 08:39 AM

Just to let you know, both iframes and marquees have been deprecated from w3c's html specification :)

#4 NGPixel

    Senior Programmer

  • P2L Staff
  • PipPipPipPip
  • 1,410 posts
  • Gender:Male
  • Location:Montreal, Canada
  • Interests:Web Design : Coding : Animation

Posted 11 August 2005 - 08:55 AM

use php or javascript instead of an iframe, and as Adam said, marquee are not allowed. Use a script instead.

It can be hard sometimes to follow W3C recommendations but your site will have much less code and will load MUCH faster.

#5 FK69

    Young Padawan

  • Members
  • Pip
  • 57 posts
  • Location:Melbourne, Australia

Posted 11 August 2005 - 07:59 PM

i had no idea bout the iframes and marquee... im using iframes to load all my pages in so i dont have reload the images...

is there php that can do this for me?

#6 NGPixel

    Senior Programmer

  • P2L Staff
  • PipPipPipPip
  • 1,410 posts
  • Gender:Male
  • Location:Montreal, Canada
  • Interests:Web Design : Coding : Animation

Posted 11 August 2005 - 08:03 PM

just use this simple script to "include" the content of a page inside another page. Your page extension must be .php or it won't parse.

<?php include('yourpage.php'); ?>

just ask if you need more help ;)

#7 FK69

    Young Padawan

  • Members
  • Pip
  • 57 posts
  • Location:Melbourne, Australia

Posted 12 August 2005 - 05:27 AM

but what if i wanted to open an external link like i can with an iframe?





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users