Ok, I have posted the code from the .js file on another webpage of mine. the website is:
http://www.utccc.org/cgi-bin/static.pl?page=code
The main website code is shown below in red. The css file is shown in blue.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
I have a drop down menu. I am trying to set it up so that when the link is clicked, the page, or in my case the pdf loads ina new window. I have tried target:"_new" and target:"_blank" already with no success. Below is the code.
menus[4] =...
Edward and Adam, Here is the code that you desire. Note, The only way I was able to get this to work was to open a window. I tried putting it in a hidden frame, but the page would not load until I got out of the function, which was not an option.
function search(first,find)
{...
Adam,
Here is the situation...
I have a search engine. It takes up to 3 minutes to finish. The problem is that it works by opening up a window reading the links, and then closing the window. This is done in as fast as the computer can go. Therefore, you can't use anything else until it is...
I need to be able to read in a keystroke in middle of a function. All the help I have gotten before is only helpful if used in the form area. What I have is something like this:
function example()
{
...
...
checkkeystroke()
...
...
checkkeystroke()
...
...
checkkeystroke()
}
and
function...
I tried throwing in
if (a[x].href != "" && a[x].id != ""){
into my code, and it still didn't work.
Also, what is with the
msg += "\n" + x + " - HREF:" + a[x].href + " ---- ID:" + a[x].id + ">>>>> Name:" + a[x].name
Is that just...
Ok, that didn't work so I am going to make this easy and just post the whole code. Here goes:
function search(first,find)
{
var i = 0;
var first_window = window.open(first,"first_window","width=1,height=1,top=1700,left=1700")...
Jeff,
Could you also answer my problem in thread216-598984. You were part of it, and then I lost you. I am really close on it, but I am having a problem with random <a name> throwing following links off by one or two. Any help would be great.
Jonathan
Jeff,
That is very close, except for the fact that every time I use
results.document.getElementById("result_div").innerHTML = blanklink;
what text was shown previously is overwritten. How do I solve this problem?
Jonathan
I am not sure how that would fit into my code.
Here is what I have now:
Note this works except for those rare occasions I mentioned above.
var a = first_window.document.getElementsByTagName("a");
if (a[j].id)
{
pdf_link_text = a[j].id;
}
else...
Ok, I will make this very simple. Here is the two sets of code I have:
<html>
<style>
<!--
a{text-decoration:none}
a:hover{color:red}
-->
</style>
<BODY bgproperties="fixed" BACKGROUND="...">
</body>
</html>
and
results.document.writeln(blanklink);
The code in red...
I have a slight problem with my coding.
It searches great, except that on a few pages, there is this:
<A NAME="2002">
<FONT SIZE="+3"><CENTER>2002</CENTER></FONT>
<HR SIZE=2 color="black">
<BR>
<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=99%>...
I have 2 frames. In one frame I have a form. In another, I have results show up. I can get items to appear when writing to the different frame. My problem is that all the code on the results page that was there before writing to it is no longer there, such as the background. I also have a...
Is there html code to automatically resize a background image from say 600x800 to another size. I have an image that looks great on a 600x800 resolution, but when viewed at a higher resolution, the image is displayed multiple times to fill the screen.
Thanks,
Skills
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.