Dynadot — .com Registration $8.99

iframe spacing, linking, and other ?'s

Spaceship Spaceship
Watch

Rudy

Established Member
Impact
16
Edit: Oops, I think I posted in the wrong forum... Mods, could you please move to Programming?

Another Edit: This is Resolved

Hey folks,
I am cutting www.joelpiedt.com into a primary document with an iframe, so that it will look like www.joelpiedt.com/index1.html. I'm going to take the footer out of the iframe and put it into the original document itself.

The main reason I am doing an iframe is because the musician (my friend / roommate) wants his music to start when the page is loaded, and wants people to be able to listen to the music while they browse the website. As it is, they can only listen to the music while they are on his homepage.

So what I want to do is make the links within the iframe work in a way that won't reload the entire page. How can I go about doing this?

Another question is a spacing issue that I am having. See that black space b/t some of the borders and the main doc vs. the iframe that is NOT there on the main website? How do I get that black space to disappear and the site to display correctly?

Thanks in advance for any help on this,
David

PS: I didn't actually design the site, but since he's my friend / college room mate, I'm doing some work for him on the site... and I'm doing the webhosting for him (he's paying me for that).
 
Last edited:
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
There is no file at joelpiedt.com/index1.html

But the link would be:

Code:
<a href="yourpage.html" target="iframename">link to your page</a>

and the iframe:

Code:
<iframe name="iframename" src="content that loads on page load.html">
</iframe>
 
0
•••
Thanks for the response. I actually decided not to do iframes after all, and instead put in a link on the home page for a pop-out player in a separate window.

I took index1.html out because that is only used as my testing bed, and have figured out what I needed.

Thanks though,
David
 
0
•••
Anytime :) To get the rid of the border though, just add 'border=0' in the element.
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back