Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Hmmm...can't Get The Frames Correct, Please help
shahrukhmalik3.1...
post 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. mad.gif 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.


This post has been edited by Plenoptic: Jul 29 2007, 04:25 PM
Go to the top of the page
 
+Quote Post
jlhaslip
post 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 Icon

Group: [MODERATOR]
Posts: 3,880
Joined: 24-July 05
From: In Trouble Again... still?
Member No.: 9,787
Spam Patrol



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.
Go to the top of the page
 
+Quote Post
shahrukhmalik3.1...
post 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.
Go to the top of the page
 
+Quote Post
cj-real
post 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
Go to the top of the page
 
+Quote Post
shahrukhmalik3.1...
post 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.
Go to the top of the page
 
+Quote Post
Saint_Michael
post 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
T17 GFX Crew



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.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Is Eating Meat Morally Correct?(77)
  2. Adjusting Rows/cols Of Frames In Frameset Using Javascript Is Not Working In Firefox 3 Is Not Working(4)
  3. Form Not Returning Correct Email Address(5)
  4. Digital Photo Frames(4)
  5. Image Not Taking The Right Size In Web Page(1)
  6. Political Correctness Getting Ot Of Hand(11)
  7. Frames Tutorial(2)
  8. Can Someone Correct My Essay?(3)
  9. Hmmm...about Me(2)
  10. Poll: Should I Use Frame Or No Frames For My Site?(10)
  11. How To Retouch Your Pictures In Adobe Photoshop(5)
  12. Searching My Screen Name Got Me Here(4)
  13. Definition Lists To Display Artist, Cd, And Track(0)
  14. Leap Year Birthdays (hmmm...?)(8)
  15. Css-based "i-frames" (sort Of)(1)
  1. Choose The Correct Color Scheme For You Website(11)
  2. What Should Be Correct Term To Call Native Americans As?(13)
  3. No Frames, But Still A Nice Menu?(11)
  4. Frames(4)
  5. The Correct Question About Gmail(6)
  6. Correct Nameservers For .de Domain(2)
  7. English(1)
  8. Advanced Html Frame Tag(3)
  9. Attn: Spanish Speakers (which Sentence Is Correct?)(14)
  10. Need Help With Frames(6)
  11. Frames And Scrolling(2)
  12. Correct Markup For A List With Big Images(7)
  13. Which Game Do You Like More?(4)
  14. Frames!(7)
  15. Frames(4)


 



- Lo-Fi Version Time is now: 25th July 2008 - 10:17 AM