Bible Forum

The Bible NETWork ~ Impacting the World for Christ one post at a time!

It is currently Sun May 19, 2013 8:21 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Mon Jan 14, 2008 11:17 am 
Offline

Joined: Mon Jan 14, 2008 9:27 am
Posts: 8
Faith: Christian
Ecclesiology/Denomination: Protestant (Garden variety)
I've been using the iframes Bible for a while but I need help navigating it with HTML.

I have an iframe set up within a page that uses src=./netbible/index.htm. I'd like to be able to open that iframe to a user-specified "page" in the Bible instead of always at textwelc.htm, using an external link.

Methods I can use include a HTML link such as <a href="gen1.htm" target="index.htm#text_pane" >link</a> (which does not work in any of the variations I have tried) or a BBCode type link such as [[link|NETBible with "gen1"]] where "gen1" substitutes in src=%0.

How do you guys navigate the frames Bible? Can you recommend a good online HowTo? If I have to resort to Javascript, what is an elegant method for this?

Thanks,

Coby

PS while I'm asking, is there a way to select a particular verse so that it appears focused/at the top of the page? Like if I want to quote Ps 119.101 and don't want the user to have to scroll to it?


Top
 Profile  
 
PostPosted: Mon Jan 14, 2008 11:29 am 
Offline
tech-admin

Joined: Wed Jul 12, 2006 2:43 pm
Posts: 136
Faith: Christian
Ecclesiology/Denomination: Baptist
Coburn, While I have never looked at or messed with the iframe netbibe. Could you supply some links to it?
Now, on an html not. The ifram tag has an attribute of name. This is the unique name for only this iframe. so when you have a link you want to open in that ifram you would use this syntax: <a href="gen1.htm" target="UNIQUE NAME GIVE TO IFRAME" >link</a>

If I didn't answer your question, or I missed the point, please say so :)

Brian


Top
 Profile  
 
PostPosted: Mon Jan 14, 2008 11:22 pm 
Offline

Joined: Mon Jan 14, 2008 9:27 am
Posts: 8
Faith: Christian
Ecclesiology/Denomination: Protestant (Garden variety)
Thanks for the reply.

If the above method had worked, I wouldn't be posting. It seems to be a fairly complex issue.

http://www.bible.org/page.php?page_id=3086 Take a look at it.

I stand corrected. It's not the "iframes Bible" but the frames Bible.

I think part of my problem is how the frameset is set up.

The table of contents pane first loads the list of chapters in a book into itself. That's one target.

Then it loads the actual chapter into the text pane (frame). That's a recursive reference that travels through two different target frames. Pointing from outside with a simple, linear "index.htm#gen_toc#gen1.htm target=text_pane" doesn't work for me. I just re-checked it.

Thanks again,

Coby


Top
 Profile  
 
PostPosted: Tue Jan 15, 2008 12:53 am 
Offline
tech-admin

Joined: Wed Jul 12, 2006 2:43 pm
Posts: 136
Faith: Christian
Ecclesiology/Denomination: Baptist
Coby,
It would help to know which version you are using. There is the old version that is just html. And the new version that uses html/javascript.
Additionally, what are you using this for, do you have a link so I could see?

Brian
email bseagraves@bible.org


Top
 Profile  
 
PostPosted: Wed Jan 23, 2008 5:39 pm 
Offline
Bible.org staff

Joined: Thu Jul 21, 2005 6:59 am
Posts: 36
Faith: Christian
Ecclesiology/Denomination: Non-denominational
The frames version of the NET Bible is intended for offline use for users who either don't have or don't want to need an internet connection to read the NET Bible.
Accessing it through your browser is as simple as going to index.htm in the folder with all the files. The index.htm does call up a menu frame on the left, a text frame in the middle,right and a note frame below.
It sounds as if you are trying to call these particular parts in your own iframe on a webserver? If not, then let me know how to help you.
If you are trying to server this up onto a website, you should be aware of the permissons issues. Please contact the permissions department http://www.bible.org/email_form.php?email_id=3 to get approval for what you are intending to do.
Also, there are webmaster tools for the NET Bible (that do not need special permissions) here:
http://labs.bible.org/
But of course, we do appreciate it if you send us your links so we can see what great ways users are displaying and promoting the NET Bible.

_________________
Todd Lingren
Publishing Director


Top
 Profile  
 
PostPosted: Sun Feb 17, 2008 11:33 pm 
Offline

Joined: Mon Jan 14, 2008 9:27 am
Posts: 8
Faith: Christian
Ecclesiology/Denomination: Protestant (Garden variety)
briansea wrote:
Coby,
It would help to know which version you are using. There is the old version that is just html. And the new version that uses html/javascript.

I'm using the latest version; I did a fresh download to be sure.

briansea wrote:
Additionally, what are you using this for, do you have a link so I could see?

Brian
email bseagraves@bible.org

Sent you an example as an attachment.

Took a look at the W3C standard for linking to documents displayed in frames. The straightforward method presented there isn't working. I thought at first it was because the Frames Bible links to pages through a "toc_pane" but after trying variations on:
Code:
<html>
<iframe src="netbible/gen_toc.htm#gen1.htm" target="_parent#toc_pane" frameborder="0" height=500 width=100%></iframe>
</html>

I think the problem is with the documents. The above code gives me gen_toc.htm in a pane that takes up the whole frame instead of a sidebar.

Maybe I'm using the wrong approach to finding and focusing the TOC's and chapters. Do they need to be named, like the frames? Or maybe something (also) needs to be done to the top-level frameset so it loads fully every time. Any other ideas?

Such as the HVAC method: "Pound to fit, paint to match." AKA script.

Thanks,

Coby


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group