almulder Posted July 13, 2005 Posted July 13, 2005 Question about drop down options.I am tryign to make it so that there are preselected width and height drop down menus. (for the pic in the description box.), But I cant seem to be able to wright the value to the config.js fileCODEWriteConfigValue(tf, "picw", form.picw.value);WriteConfigValue(tf, "pich", form.pich.value);where picw is the name of the drop down menu for the widthwhere pich is the name of the drop down menu for the heightIs this the corret way to save the data?if I change the drop down mwnus into a text fileld. It will savewith no problem the I cant seem to grab the value when it is in a drop down menu.Any thought. (Hope you get what I mean!)(Update)I have also tryed this:CODE switch (form.cpicw.value){case '128': WriteConfigValue(tf, "picw", form.picw.value); break;case '64': WriteConfigValue(tf, "picw", form.picw.value); break;case '32': WriteConfigValue(tf, "picw", form.picw.value); break;} switch (form.cpich.value){case '128': WriteConfigValue(tf, "pich", form.pich.value); break;case '64': WriteConfigValue(tf, "pich", form.pich.value); break;case '32': WriteConfigValue(tf, "pich", form.pich.value); break;}Renamed the drop down menu to cpicw and cpich. But still nothing.I am also going to have it so you can have the text located at:"Top""Bottom""Left""Right"Also have the pic locatins at:"Left""center""Right"This should give you plenty of options.But I need to find out how to get data from a drop down menu.I also need to know how to select that from the dropdown menu once the file is roloaded. "So that when you open the config page id dose not default to a pre eslected on, rather loads your value.Thanks for your help.Hopeing to have this done ASAP for ver 3.6 release.
almulder Posted July 13, 2005 Author Posted July 13, 2005 Update: I think I have it. The whole drop down menu list. It looks like it is saving correctly. Now I just need to figure out how to make the text on each side.Question. I would like to make the pic width and height also drop down menus. But what sizes should I put in? (32, 64, 128) What one and how many. There is be individual sizes for height and width. I was going to put the same sizes in each box.If this works. What do you think about me trying to make another config page but not the same one for programs, more one for all the opetion for color changes sizes and ect. that people are always wanting to change. (It will take some time to do so though, but hay why not I don't got free time. But I can make some)Let me know.
Kelsenellenelvian Posted July 13, 2005 Posted July 13, 2005 Okay in my opinion the sizes would be 32, 64, 128 and 256.How would you make a second config page work??How would it be accessed?Can I send you 3.6 beta so you can modify the newest files??
almulder Posted July 13, 2005 Author Posted July 13, 2005 Sure send me the file.And the Second config page would become a new button under the current config button. Which in turn would open the new options page. Just like the opstions and current config page. But of course it would have a new name releated to that.
almulder Posted July 13, 2005 Author Posted July 13, 2005 (edited) Not sure what an addy is but here is my email addressedit: email address Removed edit:Also here are the sizes I have added.32, 48, 64, 80, 96, 112, 128, 144, 160, 176, 192, 208, 224, 240,256I thought 16 increment would be better with more options Edited July 13, 2005 by almulder
Kelsenellenelvian Posted July 13, 2005 Posted July 13, 2005 (edited) You have mail. Edited July 13, 2005 by kelsenellenelvian
almulder Posted July 13, 2005 Author Posted July 13, 2005 Yep just downloaded it.I should not be to hard to add to. just a few lines of code for now. Still working on the text location though. Menu works but not the location code. But I will get it.Man it sure is amazing how if you search long and hard enought you can find what you are looking for on the web. (Thank goodnes for luck on finding and B.S.ing my way through this. (THIS IS THE FIRST TIME EVER MESSING WITH JAVASCRIPT)
Kelsenellenelvian Posted July 13, 2005 Posted July 13, 2005 Also please move the description box over to page 2
almulder Posted July 13, 2005 Author Posted July 13, 2005 What do you mean?"Also please move the description box over to page 2"Also I was going to put the Pic option above the desc box. Thoughts?
Kelsenellenelvian Posted July 13, 2005 Posted July 13, 2005 Sure send me the file.And the Second config page would become a new button under the current config button. Which in turn would open the new options page. Just like the opstions and current config page. But of course it would have a new name releated to that.I took this too mean that you was making a second config page to have the pic options in.
almulder Posted July 13, 2005 Author Posted July 13, 2005 Sorry. I was meaning a new config page for like changing size of text, colors and what not. This this thatwe currently hunt and look for in each file. Just thougt a point and click feature would be nice for it.
almulder Posted July 13, 2005 Author Posted July 13, 2005 Screen shot!I noted the changes how dose it look?
Kelsenellenelvian Posted July 13, 2005 Posted July 13, 2005 Looks very nice m8 so can we use custom sizes or is that our only choices??
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now