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 strongm 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
  • Order by date
  1. gameon

    Targeting the parent of an I-frame

    Cheers mate! M@)
  2. 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...
  3. gameon

    browser independant redirect base on just the domain

    its depends on the whole domain. In this particular instance - I cannot use iis, php or coldfusion. There are 5 domains parked - and I need to redirect to a different page - including the same page, but change the domain. eg: they type in bob.com > bob.com they type in bill.com > the same...
  4. gameon

    browser independant redirect base on just the domain

    case whould be the url, not 'united states'
  5. gameon

    browser independant redirect base on just the domain

    so will this working in any browser, I thought there was a different location syntax for diff browsers... current_url = document.location.href; switch (current_url) { case 'United States': window.location='my url'; break; default: window.location='my url'; }
  6. gameon

    browser independant redirect base on just the domain

    the current url I usually use cf to do a redirect based on the domain. I suppose i want to set a var as the domain, then do a swich with some actions based on that var...
  7. gameon

    browser independant redirect base on just the domain

    whoops - old bit of code - I need to use the domain - how do you do that---
  8. gameon

    browser independant redirect base on just the domain

    without that docwrite...
  9. gameon

    browser independant redirect base on just the domain

    Currently - <SCRIPT LANGUAGE=&quot;JavaScript&quot;> fp=0; if (navigator.appName.indexOf(&quot;Netscape&quot;) > -1){ fp=0 } if (navigator.appName.indexOf(&quot;Microsoft&quot;) > -1){ fp=1; } if (fp == 1) { <!---if IE---> [IE STYLE REDIRECT] } else{ document.write('') [OTHER STYLE...
  10. gameon

    browser independant redirect base on just the domain

    ie and ns7, mos4, ns4 ideally...
  11. 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@)
  12. 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@)
  13. 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@)
  14. gameon

    Tell parent window to go somewhere and close

    Cheers mate - I'm now using: function PopAction(url){ // main window go to url window.opener.location.href=url; //Close the popup self.close(); } and calling it with: <a href=&quot;javascript:PopAction('http://http://www.tek-tips.com')&quot;>link</a> Cheers, M@)
  15. 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...
  16. gameon

    find intersect

    cheers, loads mate - will work my way through it... M@)
  17. 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...
  18. gameon

    display='block' netscape and mozzila nightmare

    for some reason the whole cell moves to the left when an option is selected. If my monitor was not so heavy, i'd have thrown it at something by now... M@
  19. 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>...
  20. gameon

    Change an entire form field based on the dropown above

    got it... <!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;> <html> <head> <title>Untitled</title> </head> <body> <script language=&quot;JavaScript&quot;> function Moo(){ document.getElementById('ChequeTable').style.display = 'none'; } </script> <p...

Part and Inventory Search

Back
Top