Jump to content
xisto Community
Sign in to follow this  
shahrukhmalik3.142

Hmmm...can't Get The Frames Correct Please help

Recommended Posts

I want to make a site with frames on the top left and bottom.The complexity is that I want to add images which must be connected.Here is a text thought:

--------------------------------\BLA                          1         \---------------------------         \                                 1 \         \  Bla                             |         |  Bla                             | bla  |  Bla                             | bla  |                                     | bla  |                                     |         |                                     |         |                                 2 /         /--------------------------          / bla  bla  bla           2       /-------------------------------/

When I make this, the points 1 and 2 are far apart. :P There are no borders.Can anyone tell me how to make them join?Or any other way to get the same result. Upon pressing the buttons on these frames, on the central frame will change.

Notice from Plenoptic:
Added code box.
Edited by Plenoptic (see edit history)

Share this post


Link to post
Share on other sites

You have two separate issues here.

1. The placement and positioning of the Images to create a 'bordered' look.
2. The manipulation of the interior contents.

What you you have for images? and why frames for the central data? Frames are not Search Engine Friendly, don't allow for bookmarks, can't be searched, and lots of other reasons. I have a template which creates a "framed" look, but uses css to do all of that.

Have a look : http://forums.xisto.com/no_longer_exists/

snag it if you want...

Also, look here to see a php solution for swapping out the contents: http://forums.xisto.com/no_longer_exists/

Send me a PM to receive the link for that php template if you wish.

Share this post


Link to post
Share on other sites

What I am trying to make is a new type of interface. I don't really need search engine support as my site won't have any such thing.Its basically the interface only.Also, I don't want reload the borders again and again, just the main content.Another point to note is that I am new to web design and think more like a programmer, which doesn't work with HTML.So, I could only come up with the framed design. I don't know CSS or PHP, yet, and I am planning to buy a good book in a month (after exams).Well, thanks for the help. I will check it out.

Share this post


Link to post
Share on other sites

Hi, I think I can help you with this one.

 

If you are trying to use a link (on the main page or in another frame), which will then change the content/external page in another frame, you need to do this.

 

On the frames, you need to add this to the code:

your frame name" name="your frame name" _linenums:0'>id="<strong class='bbc'>[color= #FF0000]your frame name[/color]</strong>" name="[color= #FF0000]<strong class='bbc'>your frame name</strong>[/color]"
Replace stuff in bold. The stuff in red has the be the same as the stuff in red on the other code boxes.

 

For example,

your frame name" id="your frame name" src="http _linenums:0'><frame name="<strong class='bbc'>[color= #FF0000]your frame name[/color]</strong>" id="[color= #FF0000]<strong class='bbc'>your frame name</strong>[/color]" src="<strong class='bbc'>http://yourlinkhere.com/file.extension</strong>"'>http://yourlinkhere.com/file.extension</strong>" frameborder="<strong class='bbc'>1</strong>" border="<strong class='bbc'>1</strong>" align="<strong class='bbc'>center</strong>" scrolling="<strong class='bbc'>auto</strong>" height="<strong class='bbc'>1000px</strong>" width="<strong class='bbc'>1000px</strong>">
Replace stuff in bold. The stuff in red has the be the same as the stuff in red on the other code boxes.

 

Now, if you wish to change "http://yourlinkhere.com/file.extension" to, say, http://yourlinkhere.com/file2.extension you need to put this in the link (i put the whole link here for you):

http _linenums:0'><a href="<strong class='bbc'>http://yourlinkhere.com/yourOtherFramePage.html</strong>" target="<strong class='bbc'>frame name</strong>"><strong class='bbc'>Your text here</strong></a>
Replace stuff in bold. The stuff in red has the be the same as the stuff in red on the other code boxes.

 

Also, please explain your other question in more detail, I got confused. If you are trying to get frames side by side in certain positions, you use frameset, cols, rows.

 

Lastly, to put frame 2 next to frame 1, inset this in frame 1 tag:

align="left"
Edited by cj-real (see edit history)

Share this post


Link to post
Share on other sites

That's exactly what I wanted to know! Thanks, cj-real!The second thing is that the images I put in the bottom and right frames don't join. There is a gap. I tried aligning but it didn't work.No worries, though. I have changed the design to include less images.

Share this post


Link to post
Share on other sites

With the images it is a matter of just positioning them with CSS, but you can get away from that if you design your template in photoshop then slice your images. Then you would set up your slices depending on where you plan to have your frame scroll bars set up at. Although as a programmer myself I would suggest getting out of frames altogether, however, another solution would be to use iframes instead of standard frames. That would way you won't have to deal with headaches of trying to keep your site from breaking.But like I mention to get a good frames site going start with adobe photoshop or some other graphics program that slices and can be saved as a website and its just a matter of adding the code in it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.