Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | Help needed with Cisco 800 series router...

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > General IT Discussion
Register FAQ Community Calendar

Help with some Javascript code
Reply
 
Thread Tools
Old 07-05-2004, 11:37   #1
Alanmelon
Inactive
 
Alanmelon's Avatar
 
Join Date: Jul 2003
Posts: 733
Alanmelon has reached the bronze age
Alanmelon has reached the bronze ageAlanmelon has reached the bronze ageAlanmelon has reached the bronze ageAlanmelon has reached the bronze ageAlanmelon has reached the bronze ageAlanmelon has reached the bronze ageAlanmelon has reached the bronze age
Send a message via MSN to Alanmelon
Help with some Javascript (or is it DHTML?!) code

Hi all.
Wasn't sure whether to put this is Computers or Internet, but anyway, can anyone help with a modification of the attached script/code which has been automatically created by a GUI application.

What I basically want to do is change the link attributes to specify a frame target, in this case 'I1' Yes, yes, I know frames are outdated and clunky but they suit me :pp

I reckon it must involve modifying the first few lines, but as I know nothing about Javascript (or DHTML), it's over to you....
Alanmelon is offline   Reply With Quote
Advertisement
Old 07-05-2004, 12:29   #2
MikeyB
Inactive
 
MikeyB's Avatar
 
Join Date: Jun 2003
Location: Swindon
Age: 54
Services: BT FTTP, Humax Foxsat HDR Freesat+
Posts: 810
MikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud of
Re: Help with some Javascript code

I would guess that you need to change line 52:
var DocTargetFrame='space'; // Frame where target documents appear
MikeyB is offline   Reply With Quote
Old 07-05-2004, 12:43   #3
punky
Inactive
 
Join Date: Jun 2003
Age: 45
Posts: 14,750
punky has a golden aurapunky has a golden aura
punky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aura
Re: Help with some Javascript code

What Mikey said should work. If it doesn't, or you want to do it outside of the Javascript code for every link, add this line in the <head> section:

<base target="[framename]">

where [framename] is the name of the frame/iframe, but don't put in the [ ] backets

HTH
punky is offline   Reply With Quote
Old 07-05-2004, 12:48   #4
Alanmelon
Inactive
 
Alanmelon's Avatar
 
Join Date: Jul 2003
Posts: 733
Alanmelon has reached the bronze age
Alanmelon has reached the bronze ageAlanmelon has reached the bronze ageAlanmelon has reached the bronze ageAlanmelon has reached the bronze ageAlanmelon has reached the bronze ageAlanmelon has reached the bronze ageAlanmelon has reached the bronze age
Send a message via MSN to Alanmelon
Re: Help with some Javascript code

Quote:
Originally Posted by MikeyB
I would guess that you need to change line 52:
var DocTargetFrame='space'; // Frame where target documents appear
Doh! That'll teach me to look next time!
Alanmelon is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:26.


Server: lithium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum