Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: gameon
  • Content: Threads
  • Order by date
  1. gameon

    Targeting the parent of an I-frame

    Hi, I am using I-frames on my site. Is there a way that I can call java-script functions that live in the parent frame of an i-frame - or just target it to go to a different url. Also, is there a script that I can put in my i-frame that checks that its in my i-frame... Cheers if you can...
  2. gameon

    browser independant redirect base on just the domain

    Hi, is it pos to do a browser independant redirect base on just the domain - not the whole url. EG: if the domain is http://www.microsoft.com or http://microsoft.com or http://microsoft.co.uk go to 'x' M@)
  3. gameon

    detect for I-frame content

    Hi, I am using i-frames. Its it possible to detect whether my iframe content is not within an i-frame? (like with js detects for normal frames) M@)
  4. gameon

    browser info output

    When I detect my browser it says: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Browser language: en-gb Whay does it say Mozilla/4.0 when its IE? M@)
  5. gameon

    Tell parent window to go somewhere and close

    Hi There, I have a place where I keep all my js functions. One of may functions launches (user requested) popups. I am trying to write a function that I can call from any one of the popups that tells the parent window to go to a url and the closes the pop_up. Eg I would just include a working...
  6. gameon

    find intersect

    Hi - Rob Penner wrote this function to get the intercept ot two lines from pasing it four points. its very neat: Math.intersect4Pts = function (p1, p2, p3, p4) { var x1 = p1.x; var y1 = p1.y; var x2 = p2.x; var y2 = p2.y; var x3 = p3.x; var y3 = p3.y; var x4 = p4.x; var y4 = p4.y; var...
  7. gameon

    display='block' netscape and mozzila nightmare

    Can ANYONE please please help me understand how to get this page to behave in IE and netscape? M@ ------------------------------------------------------------ <!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;> <html> <head> <title>Untitled</title> </head> <body>...
  8. gameon

    Change an entire form field based on the dropown above

    Hi, can I use JS to control the contents of a span. EG: Can I have a dropdown with option 1 and option 2. When option 1 is selected there is another dropdown underneith. When option 2 is selected there is a normal form field. I think I've seen this before - but am not having much luck so...
  9. gameon

    XML getBytesTotal()

    Hi, I have set up a news scroll for my site. The content is loaded in as xml. I have put a liitle load window on the front. It works great, using: this.TheNews.getBytesLoaded(); But, I don't think people are interested in the bytes - so I just want to display the percentage. This also works...
  10. gameon

    Passing a window name to a popup

    Hi, I am using the following script ot popup a window: <script> // JavaScript Document function PopDetails(WinName,theWidth,theHeight,theURL){ xpos = Math.round((screen.width/2)-(theWidth/2)-13); ypos = Math.round((screen.height/2)-(theHeight/2)); WinName =...
  11. gameon

    Subtract a dynamic shape from another

    Hi, I have a dynamic shape made from filling the space inbetween some lines. I really need it to be possible to be able to then substract that shpa efrom a square that I have on the stage. (which can be there already or drawn dynamically too... Can this be done? M@?
  12. gameon

    Clear JS history

    Hi, I have a form. When the user gets to the final page - they must not use the back button to try and get back to the main pages (they must use the navigation, and link on the thank you page). Anyways, is it possible to set the length of the history array to be 0 - so the back button behaves...
  13. gameon

    Dynamic content in a scroll pane?

    Hi, I have a fixed size scroll pane. I would like to use control the size of the clip within that pane and have the scrollbars adjust accordingly. Is the a function I need to call to get them to apear - and dynamically resize when necessary? Foe example. To make it simple - I would like to...
  14. gameon

    JS link to print page that works on a MAC

    Hi, my JS print button tries to open a new page on MACs. Damn them! - I've bought one now - to test on, but can't get this going... Help M@?
  15. gameon

    window.event.clientX

    Hi Does anyone know what the Netscape7/Mozzila equivilent of window.event.clientX is? M@)?
  16. gameon

    Mozzila

    Hi, can anyone tell me why this workes cool in IE but not in mozzila and NS7: <script LANGUAGE=&quot;JavaScript&quot;> function show_help( name ) { alert('im not netscape'); var HelpLayer = document.getElementById(name)...
  17. gameon

    Checking if a radio button is selected

    Hi, I usually use something like: var selected = document.CalendarFilter.OnDemand; and check what value 'selected' is to see if something from a dropdown is selected. How do I check whether a radio button is true or false? M@?
  18. gameon

    Weird html behavior

    This code seams fine - but if its viewed in a browser the edge of the last cell disapears... <TABLE border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;1&quot;> <tr valign=&quot;top&quot;> <td bgcolor=&quot;#cccccc&quot;> <TABLE width=&quot;100%&quot...
  19. gameon

    Why no popup position?&gt;

    Hi, can anyone tell me why my function always opens the window at the top left of the screen? function PopDetails(theWidth,theHeight,theURL){ windowprops =...
  20. gameon

    NULL link

    Hi, I have a cell (with a onClick href) and a link in that cell. At the moment if you click the cell two calls are made to the page. Is there a way to make the link do nothing at all. (so the cell onClick) does the link, but the text link still behaves as such... M@

Part and Inventory Search

Back
Top