Curtis Thompson
Forum Replies Created
-
Curtis Thompson
May 9, 2005 at 10:47 pm in reply to: Easy way to change “target” label fo current window?hello…
no – sorry…”something” is the url. you reference the window that opened the current window via the opener modifier in opener.location.href…javascript stores the window that opened a window (via javascript) in that parameter…
sitruc
-
Curtis Thompson
May 9, 2005 at 10:25 pm in reply to: Easy way to change “target” label fo current window?hello…
ya – in the popup window, make the href link something like:
<A HREF=javascript:opener.location.href=’something'”>link</A>
and then something can be whatever you want it to be url wise – even more robust is a nice window closer as well:
<A HREF=javascript:changeParent(‘something’)”>link</A>
and then have a js function with that name:
function changeParent (url) { opener.location.href = url; self.close(); }and then it will change the parent to the url and close itself in one click…
sitruc
-
hello…
you could likely do something with flash and have a large flash movie download to the user’s browser and then time how long it took, but to get anything near an accurate reading, you’d need a decently large file and at least a few seconds to test the download (i.e. like a 20kb file wouldn’t give you the metrics you need), and at that point, you’re going to annoy users if they have to sit and wait for your download speed tester to finish to decide which site to show them…
so it’s feasible, but it would be horrible usabilty, as (using me as example) sometimes even broadband users don’t want the flash version and often click on “low bandwidth” versions anyway…
hope that helps!
sitruc
-
Curtis Thompson
May 9, 2005 at 5:01 pm in reply to: Easy way to change “target” label fo current window?hello…
if you’re trying to change the url of the window that opened the new windows (from the new windows), then you can either use “opener” – so like opener.location.href = ‘whatever’;
sitruc
-
hello…
i guess i’d need more info on your network to answer this one – if you have a network set up, then all the boxes will need some sort of ip address – if you have a dhcp server, then the os x box can be told to look for that server and request an ip…
what type of network do you have now that you are trying to plug the os x box into?
sitruc
-
hello…
never used dreamweaver in my life, so it’s a safe bet i’m not confusing them with those… 🙂
i call them templates, but i assume that you have some sort of functionality that determines which header bit and image to show, yes? how do you do that?
sitruc
-
cool! so i’d be curious – what was the word about industry-specific colors? i’m always up for expanding my knowledge!
-
hello…
if you have a recent version of photoshop then you have imageready, and that is by far the best tool for that…suprisingly easy to use as well…
if you don’t have that then i’d have to defer to google as i used to use tools way back when (heck even before gif89a) but i’d be out of touch with the freeware apps of the day…
hope that helps!
sitruc
-
hello…
if that’s the goal then the best thing to do is survey the competitors and others in the space for whatever industry you’re in. there really isn’t a color guide for industries. there are certainly design goals, and the simple rule for those is the bigger the client, the classier the design. simple sounding, but hard to reproduce. if you’re doing a site for a fortune 500 company, you have a lot bigger audience to impress and a much different set of marketing goals than you might have for a small business on the corner. that dictates very different design and sometimes different color schemes, but there’s no set rules for color for any type of company…
sitruc
-
hello…
ok – another angle…somewhere in this process you have a variable or a case switch or an if/else or something to decide which template to show – so how about puting that variable name as part of the image file name or setting a variable to use or something?
there are ways to get around this in your code. trust me…i just can’t see your code, though, so i can’t say which ones would work for you in this specific case…
sitruc