|
perkiset
|
 |
« Reply #15 on: October 22, 2007, 10:25:55 AM » |
|
Don't understand the issue with styles... since you are all javascript, you'll need to add a little something to the page, but it's pretty trivial..
* Create a string version of the styles you want to use - have that be a variable in your dynamic JS. * In the JS code, append a new DIV to the HTML page ie., get the body tag, append a DIV node to it and hang on to the reference. * do a <newDivNode>.innerHTML = <the String Representation of your style sheet> - poof, your styles are available. * Create the HTML for your buttons, calling out the styles that you just added.
I think that's about it if I'm reading you right...
|
|
|
|
|
Logged
|
It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
|
|
|
|
nutballs
|
 |
« Reply #16 on: October 22, 2007, 12:44:54 PM » |
|
thanks for the encouragement Dink. i took your advice and installed wp-cache. I actually am on a HUGE hosting platform, with the ability to scale almost infinitely, plus I have some pull with rackspace if it went viral and needed a big premium pipe in under an hour. I am going to install a very lightweight template onto wordpress as well to reduce excess bandwidth. plus im sure i could bribe perk  Perk im gonna call.
|
|
|
|
|
Logged
|
I could eat a bowl of Alphabet Soup and shit a better argument than that.
|
|
|
|
perkiset
|
 |
« Reply #17 on: October 22, 2007, 01:21:35 PM » |
|
Okeydokey.
|
|
|
|
|
Logged
|
It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
|
|
|
|
nutballs
|
 |
« Reply #18 on: October 23, 2007, 07:47:32 PM » |
|
thanks to Perks advice, i have fixed a bunch of issues that popped up after testing it in assorted other places. its all good now, baring some CSS issues which may crop up but I will now be able to defeat those issues.
Also, i had an epiphany... I am going to add something to this thing that might actually push it over the edge, making it rock. more to come...
now where did i leave those extra 12 hours a day?
|
|
|
|
|
Logged
|
I could eat a bowl of Alphabet Soup and shit a better argument than that.
|
|
|
|
perkiset
|
 |
« Reply #19 on: October 23, 2007, 08:18:59 PM » |
|
thanks to Perks advice, i have fixed a bunch of issues that popped up after testing it in assorted other places. its all good now, baring some CSS issues which may crop up but I will now be able to defeat those issues.
You r 2 kind... I was just rambling when you found that missing semi-colon and there was much rejoicing 
|
|
|
|
|
Logged
|
It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
|
|
|
|
nutballs
|
 |
« Reply #20 on: October 23, 2007, 10:07:09 PM » |
|
nah, i meant the suggestions.
removing the A href and instead doing an onclick on the image, reduced the code by a few bytes.
I als changed how the page is called to be adsense-like. like you suggested. it makes the call smaller as a result. plus it is more idiot proof now. basically I have the client JS call a translator page, which then assembles everything to the way it is needed for the final page call. basically you end up with 2 calls, but ease of use increases. basically, you call a JS, which writes a newly formatted JS call to your page, which again calls back to my server. This is to handle the passing of parameters into the querystring, so PHP can get its hands on it.
|
|
|
|
|
Logged
|
I could eat a bowl of Alphabet Soup and shit a better argument than that.
|
|
|
|
perkiset
|
 |
« Reply #21 on: October 23, 2007, 10:10:33 PM » |
|
sounds spot on man... nice work. I love the concept and look. Twas a great idea.
|
|
|
|
|
Logged
|
It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
|
|
|
|
nutballs
|
 |
« Reply #22 on: October 23, 2007, 10:50:23 PM » |
|
ah just you wait and see what I have up my sleeve...
|
|
|
|
|
Logged
|
I could eat a bowl of Alphabet Soup and shit a better argument than that.
|
|
|
|
matthewk
|
 |
« Reply #23 on: October 31, 2007, 06:40:46 PM » |
|
Just registered. Thanks for this perk I'm using it now.
|
|
|
|
|
Logged
|
No links in signatures please
|
|
|
|