I am building a web site that uses a inline frames. The left frame is Left_Frame and the main window inline frame is called Main_Frame.
Here is how I build the links in the left frame populate the main window and update the menus on the left frame:
<a href="#" onClick="parent.Left_Frame.location='left_news.asp '; parent.Main_Frame.location='main_frame.htm'; return false;">
Now I have a news page using ASP code. It resides on the left and I need it to launch a page in the main window similar to the links method above but it is in vb code.
response.write "<span style=""font-size : "& Headline_Font_Size &"; FONT-FAMILY: "& Headline_Font_Face_Type &"; line-height :14pt"">" & Rec("headline") & "
</span>" & vbcrlf
Anyone able to add the link functionality like above to the code?
Lannie
+ Reply to Thread
Results 1 to 14 of 14
-
-
Originally Posted by jimmalenko
LS -
Originally Posted by jimmalenko
I want to add the parent.frame type link into the vbscript line provided aove.
LS
PS I'm a newbie when it comes to vbscript. -
Ahhhh !
Should be as easy as:
response.write "<span style=""font-size : "& Headline_Font_Size &"; FONT-FAMILY: "& Headline_Font_Face_Type &"; line-height :14pt"">" & Rec("headline") & "
</span>" & vbcrlfIf in doubt, Google it. -
Originally Posted by jimmalenko
LS
PS I have a single default.htm. The left inline frame and the middle inline frame. It appears the left inline frame knows nothing about the main inline frame. When I do the target = "Main_Frame" it always opens up a new window. -
Why do you use inline frames instead of a regular frame set? It's much easier to work with.
/Mats -
http://www.htmlcodetutorial.com/linking/_A_TARGET.html might assist.
If in doubt, Google it. -
Originally Posted by jimmalenko
I appreciate the help. Now I need to print out both lines and learn what you did and how the VB code works.
Thanks again!
LS -
The only thing I did was add this in:
Code:target=""Main_Frame""
Not required though. You could always just put
Code:target=Main_Frame
If in doubt, Google it. -
Originally Posted by jimmalenko
I as putting in "_Main_Frame" like when you do "_self". Took out the underscore like you showed me and it works!
hehe..
LS
Similar Threads
-
from premiere pro timeline to mpeg4 asp
By codemaster in forum EditingReplies: 5Last Post: 1st Jan 2012, 05:21 -
Using FFmpeg with C#,ASP.Net
By DanielTaylor in forum ProgrammingReplies: 0Last Post: 23rd Jun 2010, 04:19 -
Extracting xvid (V_MPEG4/ISO/ASP) from MKV
By 20000RPM in forum Video ConversionReplies: 2Last Post: 7th Feb 2010, 20:49 -
SSI to execute ASP or PHP?
By lordsmurf in forum ComputerReplies: 0Last Post: 19th Jun 2008, 05:14 -
Virtual Dub in asp
By dizzy123 in forum ProgrammingReplies: 13Last Post: 19th Sep 2007, 06:00