Click to See Complete Forum and Search --> : New to this
billibong45
03-30-2004, 09:00 AM
Hello all of you that actually know what you are doing. I am in need of some help. I have recently been given the tast of maintaining my company's website. My problem is, I know nothing really of java script. I have this pop up window that I need to edit the contents of but I don't know where it is. I know that it is a part of a java script. Now I don't know where it is referencing the information from. Can someone please help me out. I greatly appreciate guidance you can give. Here is my script. "><a href="javascript:makeNewWin('Egg Innovations, LLC', 'logobot.gif', '', 'ffffff')
Thanks again for any help you can lend.
IndyB
03-30-2004, 09:35 AM
You might want to first locate the makeNewWin() javascript function. It should be either on this page, or in a file that is being referenced from this page in a tage like this: <script language="JavaScript" src="somefilename.js"></script>
Find that, and post the code for the makeNewWin function here. Maybe that will help us understand what is happening.
billibong45
03-30-2004, 10:05 AM
I couldn't find the makeNewWin() javascript function. But what I did find were these lines that referred to <script language=......
<script language="javascript" type="text/javascript" src="egginnovations.js"></script>
<script language="javascript" src="http://www.onyourmark.com/java/legal/legal.php"></script>
<script language="JavaScript1.2" src="menu_data.js"></script>
<script language="JavaScript1.2" src="dqm_script.js"></script>
Does this help any?
evnafets
03-30-2004, 10:12 AM
Those script tags import javascript into your page.
If you navigate to those links, you will actually download the javascript directly
http://www.onyourmark.com/java/legal/legal.php
has the makeNewWin() function in it.
It produces a new window with a copyright message in it.
I don't know if you can edit this one, but you can easily either redeclare the function and so overwrite their one, or don't import that javascript, and write your own.
Good luck,
evnafets
billibong45
03-30-2004, 10:39 AM
Ok, me being oblivious to java script code, how do I write my own so that it creates a pop up window like it currently does? I have the files and the legal.php that I want to edit. So how would I make it so that it performs the same way as it does currently but looks for the information on my server? Again, you all have been alot of help and I greatly appreciate it.