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 biv343 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: MrTBC
  • Order by date
  1. MrTBC

    Laptop Power - easy question

    Probably a really, really easy question. I have a Sony Vaio laptop and I'm in the UK. Obviously the "power adapter" is a particular model with a particular voltage that is specific to this laptop. But is the actual "power cable" that joins the "power adapter" to the plug socket universal? What...
  2. MrTBC

    IE6 Issue

    Hi, My website (http://tinyurl.com/67y2ez4) looks fine in all current browsers but I have a slight problem with IE6. At the very top of the page is an image (advertisement). In IE6 this is moved down the page creating a large white section. I have tried removing this image and can confirm that...
  3. MrTBC

    Classes and IDs in CSS

    Thanks jpadie. It's so I can have multiple instances on the same page.
  4. MrTBC

    Classes and IDs in CSS

    I have an ID that I would like to convert into a Class. Here is my HTML: <div id="example"> <ul class="menu"> <li class="expanded last"> <a href="/test" title="">Test1</a> <ul class="menu"> <li class="leaf first"> <a href="/test" title="">Test2</a> </li> <li class="leaf"> <a href="/test"...
  5. MrTBC

    window.open and IE

    It doesn't need to be a select, but it does need the default option to be a member of the list. The annoying thing is that the original script I posted works perfectly in both Firefox and Safari. It's IE that's the problem (as usual). Maybe I could add a small button to the right of the select...
  6. MrTBC

    window.open and IE

    OK thanks very much. Looks like I may need another solution then.
  7. MrTBC

    window.open and IE

    Is there any way that this script can be modified so that the first option can have a URL please? I'd prefer not to have an entry like <option>-- link --</option> if possible.
  8. MrTBC

    window.open and IE

    That works perfectly. Thanks so much Feherke.
  9. MrTBC

    window.open and IE

    Hi. I'm using a small piece of Javascript to open a URL in a new window when a user selects a value in a combobox: <head> <script type="text/javascript"> function urlopen(target) { window.open(target) } </script> </head> and then: <body> <form name="test"><select name="test"><option...
  10. MrTBC

    Redirect Directory on One Domain to Subdomain on Different Domain

    Thanks for sticking with this Rob. I tried this but it still didn't redirect I'm afraid: RewriteRule ^/directory/(.*) http://subdomain.domaintwo.com/$1? [R=301,L] Here's an example URL: http://www.domainone.com/go/click?a(2423364)b(19134)foo(21071484)bar(6) to...
  11. MrTBC

    Redirect Directory on One Domain to Subdomain on Different Domain

    By the way the URLs contain some symbols - ? ( ) e.g. http://www.domainone.com/directory/abc?x(111111)y(222222)z(333333) Is this relevant?
  12. MrTBC

    Redirect Directory on One Domain to Subdomain on Different Domain

    I've tried lots of possibilities and the only one that's come close is: redirect 301 /directory/ http://subdomain.domain2.com/ The only problem with this is that: http://www.domainone.com/directory/something is converted to: http://subdomain.domaintwo.com/directory/something
  13. MrTBC

    Redirect Directory on One Domain to Subdomain on Different Domain

    Thanks Robert, I've tried your first solution and it won't work I'm afraid - it still goes to the URL on domainone.com To answer your questions: 1. The two domains are hosted completely separately. 2. All URLS are in the format: http://www.domainone.com/directory/something...
  14. MrTBC

    Redirect Directory on One Domain to Subdomain on Different Domain

    Sorry elgrandeperro. I'm using a CMS so my "directories" aren't actually directories, they're just URLs created on the fly. I guess by trying to simplify the question I made it more complicated.
  15. MrTBC

    Redirect Directory on One Domain to Subdomain on Different Domain

    Smah - thanks for your help and apologies for not replying sooner. It looks as if your code redirects ALL of the URLs on the first domain to the subdomain on the second domain. What I'd actually like to do is only redirect URLs within one directory on the first domain, so...
  16. MrTBC

    Redirect Directory on One Domain to Subdomain on Different Domain

    Thanks very much elgrandeperro and smah. Smah - I will give this a try.
  17. MrTBC

    Redirect Directory on One Domain to Subdomain on Different Domain

    But surely: http://subdomain.domaintwo.com/anythingatall Should actually read: http://subdomain.domaintwo.com or something else, because: http://www.domainone.com/directory/somethingelse and http://www.domainone.com/directory/anythingelse should be forwarded to...
  18. MrTBC

    Redirect Directory on One Domain to Subdomain on Different Domain

    But surely this won't do that: RewriteEngine On RewriteRule ^(.*)$ http://subdomain.domaintwo.com/anythingatall [R=301,L,NC]
  19. MrTBC

    Redirect Directory on One Domain to Subdomain on Different Domain

    Thanks, but you have included the specific URL (i.e. /anythingatall) and I need to redirect all URLs please.
  20. MrTBC

    Redirect Directory on One Domain to Subdomain on Different Domain

    I need to redirect all URLS relating to a subdirectory on one domain to a subdomain on another domain, e.g. http://www.domainone.com/directory/anythingatall Should be redirected to: http://subdomain.domaintwo.com/anythingatall This needs to work for...

Part and Inventory Search

Back
Top