473,406 Members | 2,352 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

open a url in rightpane

Hi

I am trying to ope a url in rightpane
my script is

Expand|Select|Wrap|Line Numbers
  1.  function doOnClick(nodeId){
  2.  var myUrl = tree.getUserData(nodeId,'myurl'); 
  3. rightPane.src="myUrl.jsp?nodeId=" +nodeId " + "&text=" +text
  4. }
but I got an error " right pane object is not found"

can anyone help

Thanks
Corejavaboy
Jan 8 '08 #1
5 1428
vee10
141 100+
Are u using Frames concept

if not what is the rightPane???



Hi

I am trying to ope a url in rightpane
my script is

function doOnClick(nodeId){
var myUrl = tree.getUserData(nodeId,'myurl');
rightPane.src="myUrl.jsp?nodeId=" +nodeId " + "&text=" +text
}

but I got an error " right pane object is not found"

can anyone help

Thanks
Corejavaboy
Jan 9 '08 #2
acoder
16,027 Expert Mod 8TB
I am trying to ope a url in rightpane
my script is

Expand|Select|Wrap|Line Numbers
  1.  function doOnClick(nodeId){
  2.  var myUrl = tree.getUserData(nodeId,'myurl'); 
  3. rightPane.src="myUrl.jsp?nodeId=" +nodeId " + "&text=" +text
  4. }
but I got an error " right pane object is not found"
If you want to use myUrl, you have to use it like this:
Expand|Select|Wrap|Line Numbers
  1.  var myUrl = tree.getUserData(nodeId,'myurl'); 
  2. rightPane.src=myUrl + ".jsp?nodeId=" +nodeId " + "&text=" +text
Jan 9 '08 #3
Are u using Frames concept

if not what is the rightPane???
I am using frames concept
Can you help me how to open a url in frame
Jan 9 '08 #4
acoder
16,027 Expert Mod 8TB
Show the HTML frame layout. Where do you call this?

To change the URL in a frame, use frame.location.href = newURL where 'frame' is the reference to the frame.
Jan 10 '08 #5
vee10
141 100+
Hi,

if u r using the frame then i think u should access the frame by using
document.getElementById() if it does solve
then use parent.upper.document.src tryout
i also try this
Feb 2 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Marshall Dudley | last post by:
When I do the following line in Netscape, the popup loads as it should, but the parent window usually, but not always, reloads as well. <a href="#"...
10
by: David McCulloch | last post by:
The following code opens a new window, but the "resizeTo" doesn't resize it. Why not? (Don't ask why I simply did not open the window with the new size....my original problem was how to open a...
3
by: NeverLift | last post by:
But, if it's not open, I don't want to open it . . . using window.open will open it if it doesn't exist, even if the url in that open is null (the window is then empty -- but it's open). The...
5
by: Ryan Hubbard | last post by:
Is it possible to get the recordset from an open query window? So you run the query. The window is open. Can vba retrieve this data?
1
by: C Sharp beginner | last post by:
I'm sorry about this verbose posting. This is a follow-up to my yesterday's posting. Thanks William for your reply. I understand it is a good practice to open connections as late as possible and...
6
by: Brad | last post by:
I have a win2003 server workstation with multiple webs, each web has it's own ip address. In VS2005, if I select to open an existing web site, select Local IIS, the dialog correctly displays a...
6
by: qysbc | last post by:
I have a web page and there is a link to open a TIFF file. The way I do it is to have the server code open a binary stream, set the content type to "image/tiff" and call Response.BinaryWrite. On...
0
by: bazzer | last post by:
hey, im trying to access a microsoft access database from an ASP.NET web application in visual basic 2003.NET. i get the following error when i try running it: Server Error in...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.