Click here to Skip to main content
15,916,692 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Quick Question about spacing... Pin
Dalek Dave14-Apr-10 8:41
professionalDalek Dave14-Apr-10 8:41 
AnswerRe: Quick Question about spacing... Pin
daveyerwin14-Apr-10 8:36
daveyerwin14-Apr-10 8:36 
GeneralRe: Quick Question about spacing... Pin
Dalek Dave14-Apr-10 8:40
professionalDalek Dave14-Apr-10 8:40 
AnswerRe: Quick Question about spacing... Pin
User 171649214-Apr-10 8:55
professionalUser 171649214-Apr-10 8:55 
QuestionAnchor onclick attribute Pin
salmonraju14-Apr-10 2:54
salmonraju14-Apr-10 2:54 
AnswerRe: Anchor onclick attribute Pin
daveyerwin14-Apr-10 4:08
daveyerwin14-Apr-10 4:08 
GeneralRe: Anchor onclick attribute Pin
Peace ON16-Apr-10 20:28
Peace ON16-Apr-10 20:28 
QuestionWeather.Com HTML Code: Add function to request and save (client-side) Zip Code and substitute for VAR is Weather.Com Script-Need Help Pin
bill bradley14-Apr-10 1:40
bill bradley14-Apr-10 1:40 
Project I am working on has a courtesy Weather.com Page. The intent is to display the client side weather conditions--not the server.

The HTML code from Weather.com looks like this:

<script type="text/javascript">
</script>

<div id="wx_module_7847" style="padding-left: 225px;" >
if (!document.cookie && document.cookie != "") {
Alert("Cookies must be enabled in Internet Explorer to use Weather.com<br />in the Aloha Manager's Desktop.")
}
if (!document.amdczip && document.amdczip != "") {
createCookie('amdczip', '40212', 365)
}
var wczip = readCookie('amdczip')
document.write('wczip')


<a href="http://www.weather.com/weather/local/34979">Your City's Weather Forecast, AA (11111)</a>
</div>
<script type="text/javascript">

/* Locations can be edited manually by updating 'wx_locID' below. Please also update */
/* the location name and link in the above div (wx_module) to reflect any changes made. */
var wx_locID = '08043';

/* If you are editing locations manually and are adding multiple modules to one page, each */
/* module must have a unique div id. Please append a unique # to the div above, as well */
/* as the one referenced just below. If you use the builder to create individual modules */
/* you will not need to edit these parameters. */
var wx_targetDiv = 'wx_module_7847';

/* Please do not change the configuration value [wx_config] manually - your module */
/* will no longer function if you do. If at any time you wish to modify this */
/* configuration please use the graphical configuration tool found at */
/* https://registration.weather.com/ursa/wow/step2 */
var wx_config = 'SZ=300x250*WX=FHW*LNK=SSNL*UNT=F*BGI=spring*MAP=null|null*DN=askbillbradley.com*TIER=0*PID=1177763389*MD5=be2899d91f6feddef8216cd03ec459a7';

document.write('<scr' + 'ipt src="' + document.location.protocol + '//wow.weather.com/weather/wow/module/' + wx_locID + '?config=' + wx_config + '&proto=' + document.location.protocol + '&target=' + wx_targetDiv + '"></scr' + 'ipt>');
</script>


The VAR var wx_locID can be changed under license. However, I am having a difficult time requesting a Zip Code using a form/input, saving it as a cookie for future use, retreiving that cookie and assigning its value to the var wx_locID.

It var exists inside a script. I cannot modify that script per weather.com terms and conditions, but I need to pass the zipcode to it.

Any assistance would be appreciated
QuestionHow to make an automatic download web page ? Pin
Western_Star_Entertainment13-Apr-10 11:25
Western_Star_Entertainment13-Apr-10 11:25 
AnswerRe: How to make an automatic download web page ? Pin
Not Active13-Apr-10 12:24
mentorNot Active13-Apr-10 12:24 
GeneralRe: How to make an automatic download web page ? Pin
hb5213421415-Apr-10 3:39
hb5213421415-Apr-10 3:39 
GeneralRe: How to make an automatic download web page ? Pin
Not Active15-Apr-10 3:56
mentorNot Active15-Apr-10 3:56 
GeneralRe: How to make an automatic download web page ? Pin
hb5213421415-Apr-10 4:34
hb5213421415-Apr-10 4:34 
GeneralRe: How to make an automatic download web page ? Pin
Not Active15-Apr-10 5:02
mentorNot Active15-Apr-10 5:02 
AnswerRe: How to make an automatic download web page ? Pin
Jayapal Chandran5-May-10 21:58
Jayapal Chandran5-May-10 21:58 
Questionplz help Pin
shivee13-Apr-10 5:29
shivee13-Apr-10 5:29 
AnswerRe: plz help Pin
T M Gray14-Apr-10 11:35
T M Gray14-Apr-10 11:35 
QuestionGenerated proxy class not appearing in solution explorer Pin
mnemonic6913-Apr-10 1:25
mnemonic6913-Apr-10 1:25 
AnswerRe: Generated proxy class not appearing in solution explorer Pin
Martin Jarvis13-Apr-10 20:57
Martin Jarvis13-Apr-10 20:57 
GeneralRe: Generated proxy class not appearing in solution explorer Pin
mnemonic6913-Apr-10 22:08
mnemonic6913-Apr-10 22:08 
GeneralRe: Generated proxy class not appearing in solution explorer Pin
Martin Jarvis13-Apr-10 22:50
Martin Jarvis13-Apr-10 22:50 
QuestionBook recommendations on developing commercial Websites? Pin
fjparisIII11-Apr-10 10:34
fjparisIII11-Apr-10 10:34 
AnswerRe: Book recommendations on developing commercial Websites? Pin
Dalek Dave11-Apr-10 11:15
professionalDalek Dave11-Apr-10 11:15 
GeneralI'll try to be more specific about what I need Pin
fjparisIII11-Apr-10 13:18
fjparisIII11-Apr-10 13:18 
GeneralRe: I'll try to be more specific about what I need Pin
Not Active11-Apr-10 15:11
mentorNot Active11-Apr-10 15:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.