Jump to content

Makeing (Previous & Next) Buttons


Recommended Posts

Hello kelsenellenelvian,

I understand that you are the sole person working on this now. Well good for you. I am glad someone is still working on it.

Well anyway. I have been tring for a few weeks now. I don't know javascript but have been trying like mad. I have been wanting to remove the Next and Back Text links. I have been able to remove & rename them but I want to replace them not only there location but also turn them into buttons. I would like to put them in the same location as the Config buttons are put, This way they don't move up and down on the page. Also move the option buttons to the same location.

The main reason is the text jumps up and down. By that I mean on one page it is lower than the first or higher that the other. If you want to go to a certain page you have to keep moveing the mouse to click on the "next" text.

I have been trying with some odd results, but nothing to make it look uniform from one to the next.

Are you able to do so. If so how?

Also. In the options box section it would be great if you could put a box to link to a pic. and add text correctly like we have been doing in a post. This would make it easyer for me and newbes.

Add a pic in description box.

Well thanks for reading.

Link to comment
Share on other sites


Also. In the options box section it would be great if you could put a box to link to a pic. and add text correctly like we have been doing in a post. This would make it easyer for me and newbes.

I understand what you mean i think anyway.

You are trying to see if kelsenellenelvian could add an option maybe in the configwizard giving you the option to add a picture, where you add the description phrase itself. I'm a newbie and think i'm quite used to modifying the descript box itself through the config.js however that is an idea too. If i am getting you right. Whether that would be an easy task to add an option for a pic directly from the configwizard screen i dint know.

I'll stick to modifying the config.js.

EDITED For first post spelling.

Edited by lionhrt
Link to comment
Share on other sites

Yes lionhrt, you got it. That is just what I mean. I know how to edit and add the pic to the discription box. I just thought it would be nice for people who are using the program for the first time. I mean if they don't look for the post or even think about adding pics. They will never know it could be done.

Look at how long this program has been out, and only now do we know how to add pics.

Thanks lionhrt for understanding.

Thanks kelsenellenelvian for trying to help and good luck with the buttons. Can't wait to get those little gys moved.

And sorry for not beeing totaly clear about my post before.

Happy Editing.

Link to comment
Share on other sites

Well sitting back and thinking about this for a bit now

As you can see it is taking awhile to move the lil next/last buttons.

Although I no nothing about java/js/coding in general. Only what I have learned here which is very lil compared to what there is to learn.

Anyways I have a feeling that adding a pic placement into the options wizards itself is not going to be any small task if it can be done other than the way it is being done now. Thats just for the pic. Now if you want the option in the wizard to not only add a picture but a description too. Thats gonna be hard even moreso. Another reason i said that is there are so many didferent looks on how this can be done. I and others do it one way, blinkdt has i think done it a number of ways..

So i feel sorry somewhat for kelsenellenelvian, for we all tend to place so much pressure on him I'm sure. hehe. Which i'm sure give's him so many opportunities to improve such a fabulaous program. But lets try to keep in mind he is not invincible.

I would like to see this option in the future but will not pressure anyone to try and make it possible before my retirement. All I know is nothing is done over night.

yes I tend to blabber alot.

P.S is best to give lil tidbits of ideas to kelsenellenelvian otherwise if he and we with our suggestions get this app done with all the modifications in one weekend, what will kelsenellenelvian have left to do.

Edited by lionhrt
Link to comment
Share on other sites

Well I totaly agree with you lionhrt.

I have free time so if kelsenellenelvian would like I will work on the whole "Picture in the description box." This way he can work on the little darn buttons :lol:

Thanks man

Edited by almulder
Link to comment
Share on other sites

just thought I would let you know.

I THINK I MIGHT BE GETTING IT.

Not sure what I am doing, just tring to wing it for now.

For now if in command line 6 you type in the name of the pic and the correct extension "mypic.jpc" it will center the pic and display it only if the is a file typed it, else it skips. (Now there no blank pic trying to display, if no file was entered. Just the standard discription.

Question 1 - Do people prefer the text to be indented by a few spaces or none at all?

Question 2 - Do they prefer a blank line after the pic before the text, or just have the text directly under the pic with no space?

Thanks for the input.

Link to comment
Share on other sites

ok i fixed the code some and it works like a champ, it was a sweet ideal

heres what i did

desc[pn]=['<img src=./graphics/adware.jpg" width="250" height="150"><br>Ad-Aware is designed to provide advanced protection from known Data-mining, aggressive advertising, Parasites, Scumware, selected traditional Trojans, Dialers, Malware, Browser hijackers, and tracking components. With the release of Ad-Aware SE Personal edition, Lavasoft takes the fight against Spyware to the next level..]

heres an example of what it looks like with the image and text,, let me know what ya think

Like This???

Edited by kelsenellenelvian
Link to comment
Share on other sites

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 file

WriteConfigValue(tf, "picw", form.picw.value);
WriteConfigValue(tf, "pich", form.pich.value);

where picw is the name of the drop down menu for the width

where pich is the name of the drop down menu for the height

Is 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:

    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.

Edited by almulder
Link to comment
Share on other sites

well here is what I have so done far.

I have added the "Picture File" input. Just enter the name of the pic file, that is contained in the sub folder "Icons"

Next since I can't get the drop down menu working, you need to type in the Width and Height of the file. This will alow you to make the pic smaler or large as needed.

Seems to work for me just fine. can add pics to my old config.js file with no problems. If no pic file is entered it will just display the text as usual. It took me a while yo do this because it keep trying to always display a pic so it would show the "x" when nothing was entered. Buy a while of playing around with "If.. Else.." I got it to work.

Below it a screen shot of the config page.

What do you think.

Link to comment
Share on other sites

Here is my wpi that I edited to add the Pic boxes, and they have been moved.

Download

Pics are stored under a folder called "icons".

My icons removed to help in size of file.

You can change the location for the pics folder. Just need to edit the "program.js" file.

imagelocation ='<center><img src="./icons/';

Just change the "icons" name to graphics.

Let me know what you think. and if you have any problems.

Edited by almulder
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...