|
|
|
|
![]() ![]() |
Jul 29 2007, 04:04 PM
Post
#1
|
|
|
Newbie [Level 2] ![]() ![]() Group: Members Posts: 36 Joined: 29-July 07 From: Rawalpindi, Pakistan Member No.: 47,200 |
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: CODE --------------------------------\ 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. 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. This post has been edited by Plenoptic: Jul 29 2007, 04:25 PM |
|
|
|
Jul 29 2007, 06:43 PM
Post
#2
|
|
|
A computer once beat me at chess, but it was no match for me at kick boxing. ![]() Group: [MODERATOR] Posts: 3,880 Joined: 24-July 05 From: In Trouble Again... still? Member No.: 9,787 ![]() |
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://jlhaslip.trap17.com/samples/templat...amed/index.html snag it if you want... Also, look here to see a php solution for swapping out the contents: http://www.jlhaslip.trap17.com/template/index.php Send me a PM to receive the link for that php template if you wish. |
|
|
|
Jul 30 2007, 09:15 AM
Post
#3
|
|
|
Newbie [Level 2] ![]() ![]() Group: Members Posts: 36 Joined: 29-July 07 From: Rawalpindi, Pakistan Member No.: 47,200 |
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. |
|
|
|
Jul 30 2007, 09:49 AM
Post
#4
|
|
|
Newbie ![]() Group: Members Posts: 4 Joined: 27-July 07 Member No.: 47,108 |
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: CODE id="your frame name" name="your frame name" 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, CODE <frame name="your frame name" id="your frame name" src="http://yourlinkhere.com/file.extension" frameborder="1" border="1" align="center" scrolling="auto" height="1000px" width="1000px"> 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): CODE <a href="http://yourlinkhere.com/yourOtherFramePage.html" target="frame name">Your text here</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: CODE align="left"
This post has been edited by cj-real: Jul 30 2007, 09:51 AM |
|
|
|
Jul 30 2007, 10:38 AM
Post
#5
|
|
|
Newbie [Level 2] ![]() ![]() Group: Members Posts: 36 Joined: 29-July 07 From: Rawalpindi, Pakistan Member No.: 47,200 |
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. |
|
|
|
Jul 31 2007, 02:55 AM
Post
#6
|
|
|
$p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 6,305 Joined: 21-September 04 From: 9r33|\| 399$ 4|\|D 5P4/\/\ Member No.: 1,218 ![]() |
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. |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 25th July 2008 - 10:17 AM |