insideorkut.com

How to solve the issue"page error' in the new version of iContact email software?

Try iContact email marketing for free for 30 days. Click here to use coupon...

Get a free trial of iContact here. Click here for this special deal...
Got a question, hope someone can answer... How to solve the issue"page error' in the new version of iContact email software? Hoping for any answer or 2. 2nd question I got is.. Howdy all, my first post here. Apologies if this has been dealt with, couldn't find anything on a search..

Here's my problem - I'm a discussion forum moderator, and the html page provided by work is a bit cumbersome, so I'm making my own. I've made a page with three frames:.

1 ("forums"): shows the menu of forums..

2 ("threads"): shows all the threads within a forum..

3 ("main"): shows the messages within a thread..

And here's what I want to happen: click on a forum in the first frame and it's contents (threads) will appear in the second; click on a thread title in the second frame, and the messages in that thread will appear in the third frame..

The first version I coded worked fine, and was really simple. However, my work changes the contents of the forums every few days, therefore I'd have to change the code in my pages to keep up - more trouble than using the supplied interface. So I'm trying to make one that uses the exisiting forum contents pages, and this is where I'm hitting a problem..

For the 1st frame ("forums") I've made my own page using BASE TARGET so every link loads in frame 2 ("threads"). These links point to my work's own pages, therefore I cannot add any code to them (like a BASE TARGET, that would be really handy.

). So, clicking on a link in the "forums" frame and seeing the results in the "threads" frame works just fine; but clicking on a thread title in the "threads" frame just loads the thread into that frame -I want it to load into the "main" frame and for the "threads" frame to remain unchanged..

Is there a way I can force that frame to use a BASE TARGET command or something similar, regardless of what it's SRC is? Or is there a way that I can write my own page that,.

Ahem.

, "borrows" the code of the existing pages so that I can just add BASE TARGET to it (I'm sure that would work.

). Or any other way to acheive this?.

I don't want to just tell the IT guys at work that their interface needs improvement, I want to.

Show.

Them how to do it!.

Anyway, sorry I know this is a bit long, but here's my code:.

Index.html:.

<HTML>.

<HEAD>.

</HEAD>.

<FRAMESET COLS="85%,15%">.

<FRAMESET ROWS="45,*">.

<FRAME FRAMEBORDER="No" SCROLLING="No" SRC="forums.html" NAME="forums">.

<FRAME FRAMEBORDER="No" NAME="main">.

</FRAMESET>.

<FRAME NAME="threads" SRC="test.html">.

</FRAMESET>.

</HTML>.

Forums.html:.

<BASE TARGET="threads">.

<!Celeb Gossip>.

<B><A HREF=".........">Celebrity Gossip</A></B>.

<!Film>.

<B><A HREF=".........">Film</A></B>.

<!Music>.

<B><A HREF=".........">Music</A></B>.

<!News>.

<B><A HREF=".........">News</A></B>.

<!Personals>.

<B><A HREF=".........">Personals</A></B>.

<!TV>.

<B><A HREF=".........">TV</A></B>.

<HR>.

(sorry, I had to blank out the links there for security reasons.

, but those are the URLs that load pages into the "threads" frame - they work!).

What's in the threads frame?.

Doesn't really matter - any page will do (I've been using.

Www.google.com.

As a test since it loads quicker!), I just want any link I click on in the threads frame to load into the main frame and leave the threads frame unchanged..

Hope I've made this clear & someone can help, TIA..

Comments (8)

Hmm... I need to find out myself. I don't know what is the answer to that question. I'll do some Googling and get back to you if I find an useful answer. You should email the people at iContact as they probably know..

Comment #1

Target isn't a frame attribute. Shouldn't it be name="frame" ?

Comment #2

Oh. I thought I had seen such an attribute somewhere. Not then... I guess there's nothing you can do in that case...

Comment #3

Well I don't know for a fact there isn't, but I can't image why you would need target= in the frame tag..

Comment #4

I have a script for changing more than one frame at a time..

Change Frame Scripts JS.

<script language="Javascript">.

<! Begin three change script.

// Load entirely new section.

Function loadNewSection (Forums, Threads, Main) {.

Parent.Forums.location.href=Forums.

Parent.Threads.location.href=Threads.

Parent.Main.location.href=Main.

}.

// End Script>.

</script>.

<script language="Javascript">.

<! Begin two change script.

// Load new Threads and Main.

Function loadSection (Threads, Main) {.

Parent.Threads.location.href=Threads.

Parent.Main.location.href=Main.

}.

// End Script>.

</script>.

<a href="javascript.

:loadNewSection ('forums.htm', 'threads.htm', 'main.htm')">Home</a>.

<a href="javascript.

:loadSection ('newthreads.htm', 'messages.htm')">New Posts</a>.

I don't know how much benefit this will be to you, but it might be worth a try?.

Peg..

Comment #5

Well, Pegasus... this is what I understood about the question: He shows a page in a frame, and would like all the links on that page to open in another frame. However, the page he shows in the frame is not his, so he can't edit it and add targets to it...

Comment #6

Hey, cheers for the suggestions guys, and yes it seems.

Agent002.

Described my problem in a nutshell (wait... so I could have just typed that one sentence for my first post?.

).

I'm afraid my brain is addled at the moment, I'm at work (1AM now) and I've been up for ages... will have to wait til tomorrow before I can safely attempt intelligent thought. But thanks for the script, Peg, I'll see if I can use it tomorrow..

I had a brainwave too... is there a way to "copy" or "record" any link you click on? If so, perhaps I could make a script that copies the URL you click on in frame 2, then loads it into frame 3. And also makes frame 2 go "back" to the previous page, if necessary (ie, if the clicked link loads into frame 2, like it does in my current code)..

Hmmm... not sure if that makes sense, the finger of tiredness is upon me....

...see? A cup of tea is what I need.....

Comment #7

Piln,.

It could be easily resolved by using JavaScript to add a base target to the page, but if the page is on another domain (that I suspect it is , true?), you will just get some security error...

Comment #8

Agent002, my files are offline on the PC I use at work (while the forums & threads are obviously online on the company's domain), so I guess by definition my files are in a different domain. I am freelance, a second-class citizen at this company, and they'd sooner eat their own faces than give me authorisation to upload stuff or modify their online files. Wish I could. But, in truth, I'd probably break something.

On purpose..

Comment #9


This question was taken from a support group/message board and re-posted here so others can learn from it.