Click here to Skip to main content
15,886,519 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: connection string for webserver Pin
Abhishek Sur20-Sep-09 8:48
professionalAbhishek Sur20-Sep-09 8:48 
GeneralRe: connection string for webserver Pin
sheemap20-Sep-09 9:04
sheemap20-Sep-09 9:04 
GeneralRe: connection string for webserver Pin
Christian Graus20-Sep-09 14:30
protectorChristian Graus20-Sep-09 14:30 
Questioncreating a webchat: help needed !!! [modified] Pin
abduscorner20-Sep-09 4:59
abduscorner20-Sep-09 4:59 
AnswerRe: creating a webchat: help needed !!! Pin
Richard MacCutchan20-Sep-09 7:28
mveRichard MacCutchan20-Sep-09 7:28 
GeneralRe: creating a webchat: help needed !!! Pin
abduscorner21-Sep-09 6:45
abduscorner21-Sep-09 6:45 
GeneralRe: creating a webchat: help needed !!! Pin
Richard MacCutchan21-Sep-09 11:09
mveRichard MacCutchan21-Sep-09 11:09 
QuestionWrite to html frame from within js file? Pin
AlainMesias19-Sep-09 4:13
AlainMesias19-Sep-09 4:13 
Hi all,

I have an issue that is driving me mad, for few days. I hope some of the experts here can provide some help.

The web page is quite simple, with three frames:

Top frame <frame name="banner">
Left frame <frame name="tabnav">
Right frame, is the main target that host the images, etc...

The left frame also holds a folder tree view, every folder contains links of other html pages that will be loaded in the main target (right frame).
The tree view is generated and loaded dynamically from an external "tree.js" file.

All I need to do, is to get the folder description (name) from the selected tree view and displayed in the top frame as a simple text.

I have added a test line within the "tree.js" file to retrieve the selected folder name, as follow:

   alert(folder.desc);

Which works ok. However, I can not find the way to write the description to the body of the top frame?

I can get to the top frame from within the left frame (outside the tree.js file, just html within the left frame), by simple using the following code:

<script type="text/javascript">
   parent.banner.document.write("Test");
</script>

Which also works fine.

However trying to use the same code within the tree.js file (without the <script...> headers):

parent.banner.document.write("Test");


Generates an error on the page.

Is there an easier way to achieve this?

Any help is much appreciated.

Thanks in advance.

Alain
AnswerRe: Write to html frame from within js file? Pin
Abhishek Sur20-Sep-09 6:06
professionalAbhishek Sur20-Sep-09 6:06 
GeneralRe: Write to html frame from within js file? Pin
AlainMesias20-Sep-09 15:56
AlainMesias20-Sep-09 15:56 
Questionpaging Pin
rajiv_kadam18-Sep-09 21:28
rajiv_kadam18-Sep-09 21:28 
AnswerRe: paging Pin
Christian Graus18-Sep-09 22:27
protectorChristian Graus18-Sep-09 22:27 
Questionasp(scripting language) Pin
rajiv_kadam18-Sep-09 19:39
rajiv_kadam18-Sep-09 19:39 
AnswerRe: asp(scripting language) Pin
Christian Graus18-Sep-09 20:20
protectorChristian Graus18-Sep-09 20:20 
AnswerRe: asp(scripting language) Pin
Expert Coming18-Sep-09 20:21
Expert Coming18-Sep-09 20:21 
GeneralRe: asp(scripting language) Pin
Christian Graus18-Sep-09 22:27
protectorChristian Graus18-Sep-09 22:27 
Questionlogic (website) Pin
rajiv_kadam18-Sep-09 19:37
rajiv_kadam18-Sep-09 19:37 
AnswerRe: logic (website) Pin
Christian Graus18-Sep-09 20:18
protectorChristian Graus18-Sep-09 20:18 
Questionhow to make a div tag transparent Pin
tagyurit18-Sep-09 14:43
tagyurit18-Sep-09 14:43 
AnswerRe: how to make a div tag transparent Pin
Christian Graus18-Sep-09 15:23
protectorChristian Graus18-Sep-09 15:23 
QuestionTwo flash movies, layers/divs, how to shut one off Pin
seejay7518-Sep-09 9:05
seejay7518-Sep-09 9:05 
QuestionRollover javascript menus ... Pin
devboycpp18-Sep-09 6:07
devboycpp18-Sep-09 6:07 
AnswerRe: Rollover javascript menus ... Pin
Abhishek Sur18-Sep-09 12:02
professionalAbhishek Sur18-Sep-09 12:02 
QuestionBulk data insertion Pin
murali_utr18-Sep-09 1:46
murali_utr18-Sep-09 1:46 
QuestionTips for selecting right web development company Pin
rohittripathi18-Sep-09 0:03
rohittripathi18-Sep-09 0:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.