View Full Version : Damn it's hard to work today.
Unregistered
2002-12-27, 03:06 PM
So I loaded up my new MP3 player with Powerman 5000, Disturbed, Rigor Mortis, System of a Down, and a few other things stoped my the coffe shop and got a 'Fog Lifter' which is 2 shots of expresso toped off with whatever kind of coffe you want, and came into work.
All this caffine, and fast music has given me massive amounts of energy and I find it hard to do the monutmus task of editing java script after java script (97 down, 140 or so to go).
In fact I'm more likely to start a mosh pit and smash someones fuck then I am to get any work done.
Oh well.
Powerflux
2002-12-27, 03:12 PM
:rofl: :rofl: :rofl:
Unregistered
2002-12-27, 03:13 PM
Fun, Fun, Fun. I get to make one of these for each of 250 diffrent products. Eventully it will be an Uberl33t left side navigation with nifty sliding menus/submenus.
And after I am done with that i get to make web pages for each one of the product sites. 240 products x 50 pages each = 12,000 web pages.
least I have untill 1-31-2003 to finish it all :rolleyes:
look at the nifty code:
/********************************************
THE FOLLOWING SECTIONS DEFINE THE ACTUAL
STRUCTURE AS WELL AS TEXT, URLS, AND ICONS
THAT MAKE THE TREE MENU. - FOR HELP WITH
INDEXING YOUR ITEMS REFER TO THE DOCUMENTATION.
*********************************************/
/*-------------------------------------------
Main Menu Item Settings
--------------------------------------------*/
main_text0 = "Product Page Home"
icon_index0 = 0
url0 = "prod64260a.html"
main_text1 = "Product Info"
icon_index1 = 2
main_text2 = "Sales and Marketing"
icon_index2 = 2
main_text3 = "Programs"
icon_index3 = 2
main_text4 = "Must Know"
icon_index4 = 2
main_text5 = "Competitive/Market Intelligence"
icon_index5 = 2
main_text6 = "Learning"
icon_index6 = 2
main_text7 = "Configuration/Implementation"
icon_index7 = 2
main_text8 = "Maintenance"
icon_index8 = 2
/*---------------------------------------------
Sub Menu Item Settings
-----------------------------------------------*/
subdesc1_0 = "Product note"
subdesc1_1 = "Product Description (Brief)"
subdesc1_2 = "Product Comparison"
subdesc1_3 = "Manuals & Guides"
subdesc1_4 = "Upgrade Note"
subdesc1_5 = "FAQ�s - Technical"
subdesc1_6 = "Product Info (Other)"
icon_index1_0 = 0
icon_index1_1 = 0
icon_index1_2 = 0
icon_index1_3 = 0
icon_index1_4 = 0
icon_index1_5 = 0
icon_index1_6 = 0
url1_0 = "prod64260b.html"
url1_1 = "prod64261b.html"
url1_2 = "prod64262b.html"
url1_3 = "prod64263b.html"
url1_4 = "prod64264b.html"
url1_5 = "prod64265b.html"
url1_6 = "prod64266b.html"
subdesc2_0 = "Sales Notes/Guides"
subdesc2_1 = "Sales Process"
subdesc2_2 = "Events"
subdesc2_3 = "Image"
subdesc2_4 = "Ordering Note"
subdesc2_5 = "Pricing Info"
subdesc2_6 = "Presentations (external)"
subdesc2_7 = "Presentations (internal)"
subdesc2_8 = "Best Practices"
subdesc2_9 = "ROI (Marketing)"
subdesc2_10 = "Backlog Process"
subdesc2_11 = "RFP/Proposal"
subdesc2_12 = "Awards"
subdesc2_13 = "Articles"
subdesc2_14 = "Collateral"
subdesc2_15 = "White Papers (Product)"
subdesc2_16 = "Sizing Tools"
subdesc2_17 = "Demos"
subdesc2_18 = "Customer Story/Win"
subdesc2_19 = "Customer References"
subdesc2_20 = "FAQ�s - (Non- Technical)"
subdesc2_21 = "Sales Info (Other)"
icon_index2_0 = 0
icon_index2_1 = 0
icon_index2_2 = 0
icon_index2_3 = 0
icon_index2_4 = 0
icon_index2_5 = 0
icon_index2_6 = 0
icon_index2_7 = 0
icon_index2_8 = 0
icon_index2_9 = 0
icon_index2_10 = 0
icon_index2_11 = 0
icon_index2_12 = 0
icon_index2_13 = 0
icon_index2_14 = 0
icon_index2_15 = 0
icon_index2_16 = 0
icon_index2_17 = 0
icon_index2_18 = 0
icon_index2_19 = 0
icon_index2_20 = 0
icon_index2_21 = 0
url2_0 = "prod64260c.html"
url2_1 = "prod64261c.html"
url2_2 = "prod64262c.html"
url2_3 = "prod64263c.html"
url2_4 = "prod64264c.html"
url2_5 = "prod64265c.html"
url2_6 = "prod64266c.html"
url2_7 = "prod64267c.html"
url2_8 = "prod64268c.html"
url2_9 = "prod64269c.html"
url2_10 = "prod642610c.html"
url2_11 = "prod642611c.html"
url2_12 = "prod642612c.html"
url2_13 = "prod642613c.html"
url2_14 = "prod642614c.html"
url2_15 = "prod642615c.html"
url2_16 = "prod642616c.html"
url2_17 = "prod642617c.html"
url2_18 = "prod642618c.html"
url2_19 = "prod642619c.html"
url2_20 = "prod642620c.html"
url2_21 = "prod642621c.html"
subdesc3_0 = "Program/Promotion"
subdesc3_1 = "Program Guide"
subdesc3_2 = "Program Overview"
subdesc3_3 = "Program Q & A"
subdesc3_4 = "Program Target Market"
icon_index3_0 = 0
icon_index3_1 = 0
icon_index3_2 = 0
icon_index3_3 = 0
icon_index3_4 = 0
url3_0 = "prod64260d.html"
url3_1 = "prod64261d.html"
url3_2 = "prod64262d.html"
url3_3 = "prod64263d.html"
url3_4 = "prod64264d.html"
subdesc4_0 = "Field Alerts"
subdesc4_1 = "Field Service Notes"
subdesc4_2 = "Tools Updates"
subdesc4_3 = "Other Special Considerations"
icon_index4_0 = 0
icon_index4_1 = 0
icon_index4_2 = 0
icon_index4_3 = 0
url4_0 = "prod64260d.html"
url4_1 = "prod64261d.html"
url4_2 = "prod64262d.html"
url4_3 = "prod64263d.html"
subdesc5_0 = "Competitive Quick Reference Guide"
subdesc5_1 = "Market Intelligence"
subdesc5_2 = "Competitive (Other)"
icon_index5_0 = 0
icon_index5_1 = 0
icon_index5_2 = 0
url5_0 = "prod64260e.html"
url5_1 = "prod64261e.html"
url5_2 = "prod64262e.html"
subdesc6_0 = "Customer Courses"
subdesc6_1 = "Technical Courses"
subdesc6_2 = "Sales/SE Courses"
subdesc6_3 = "Learning Resources (Other)"
icon_index6_0 = 0
icon_index6_1 = 0
icon_index6_2 = 0
icon_index6_3 = 0
url6_0 = "prod64260f.html"
url6_1 = "prod64261f.html"
url6_2 = "prod64262f.html"
url6_3 = "prod64263f.html"
subdesc7_0 = "Configuration Note"
subdesc7_1 = "Upgrade Manual"
subdesc7_2 = "Product Implementation Guide"
subdesc7_3 = "Implementation Processes"
subdesc7_4 = "SA Checklists"
subdesc7_5 = "Config/Implementation Info (Other)"
icon_index7_0 = 0
icon_index7_1 = 0
icon_index7_2 = 0
icon_index7_3 = 0
icon_index7_4 = 0
icon_index7_5 = 0
url7_0 = "prod64260g.html"
url7_1 = "prod64261g.html"
url7_2 = "prod64262g.html"
url7_3 = "prod64263g.html"
url7_4 = "prod64264g.html"
url7_5 = "prod64265g.html"
subdesc8_0 = "Support Plan"
subdesc8_1 = "Maintenance Information (Other)"
icon_index8_0 = 0
icon_index8_1 = 0
url8_0 = "prod64260h.html"
url8_1 = "prod64261h.html"
Powerflux
2002-12-27, 03:22 PM
:jawdrop:
Airlift
2002-12-27, 03:43 PM
But why, Unreg? Why would anyone build such a large site in javascript? Oh the humanity!
Unregistered
2002-12-27, 03:56 PM
It's not the whole site. It's just the left side navigation menu. It's more DHTML then it is java script. The rest of the site is all HTML. The reason to do it this way is that they change the menu selections from time to time and it's easier for me to make the change real quick in the java file (it's a seprate file then the web page itself) instead of recodeing all the individual pages.
1 java file = 50 web pages.
Dyzan
2002-12-27, 04:06 PM
When logitech was running there promotion 2 weeks ago.. I built this fandago, some of the |oR| members used it and won too.. :D fun!
Here it is in raw form, for "educational" purposes only. If you were to install AutoIT ( www.hiddensoft.com ) on your PC, dump this into notepad, save it as Logitech.aut then use AutoIT to compile it, set your state and what not on the 20% losers page, shrink the window down so you can see your desktop icons a little, then activate the newly compiled .exe that would be wrong
SetKeyDelay, 20
SetWinDelay, 20
SetEnv, counter, 0
Loop:
WinGetActiveTitle, WindName
IfEqual, WindName, Cordless Promotion - Not Winner - Microsoft Internet Explorer, Goto, loser
IfEqual, WindName, Microsoft Internet Explorer, Goto, hitenter
IfEqual, WindName, http://www.logitechcordless.com/contest_result.htm, Goto, loser
EnvAdd, counter, 1
IfEqual, counter, 50, Goto, stuck
Goto, Loop
loser:
WinActivate, Cordless Promotion - Not Winner - Microsoft Internet Explorer
Send, {F5}
SetEnv, counter, 0
Goto, Loop
hitenter:
WinActivate, Microsoft Internet Explorer
Send, {ENTER}
SetEnv, counter, 0
Goto, Loop
ie6:
WinActivate, http://www.logitechcordless.com/contest_result.htm
SetEnv, counter, 0
Goto, Loop
stuck:
MSGBOX, 48, Well, Either something is wrong, or you won, restart me if you didn't win!
Exit
Also, you really can't use your pc while doing it.. I can cause I have mulitple machines... although it is for educational purposes only, so you really shouldn't be doing it anyway...
Unregistered
2002-12-27, 04:34 PM
Nifty little script you got there :D
Dyzan
2002-12-27, 05:17 PM
It's for educational purposes only. :p
Hamma
2002-12-27, 05:27 PM
:ugh:
Unregistered
2002-12-27, 06:18 PM
Well the batteries died on the mp3 player :(
Stalefish
2002-12-27, 09:26 PM
Work sucks. :(
Hamma
2002-12-27, 10:36 PM
I moved around my desk today and cleaned my office.
Doobz
2002-12-29, 02:27 AM
^
sounds very productive
vBulletin® v3.8.7, Copyright ©2000-2024, vBulletin Solutions, Inc.