General Info On Site Design
Jul 23, 2005Just wondering what the current size standard is for web-page design ... it used to be 800 x 600 pxls (which seems quite small these days).
View 21 RepliesJust wondering what the current size standard is for web-page design ... it used to be 800 x 600 pxls (which seems quite small these days).
View 21 RepliesI'm making a fansite for a game called RuneScape and I'm a bit stuck on this part.
What I need for my website is, a page that will have the prices (min, middle, and max) of things from this [URL] or other items, which will be chosen later on.
Here are two example sites that I am wanting to ... do the same thing as them.
First Example [URL] Second Example [URL]
I don't know if I can/should do this w/ JavaScript on the client or can/should this be done on the server - and if so what language would be best?
Here's my goal:
I am asking users 4 questions - depending on the one selected - that answer creates a profile and that profiles stays with them throughout the site.
E.G.; if (women under 30) is selected this information will stay on the site throughout w/ content detailed for this group.
How do I go about moving a general DIV with Javascript?
View 7 Replies View RelatedI'm writing this routine that calls the length() member of
java.io.File. Is this object generally available in most mainstream
browsers, or do some of them lock it down?
I was wondering how can i make a javascript code but make sure users can not disable it. ie. is there a way i can have a javascript code executed on the webpage even if the user has javascript disablled in their browser?
View 1 Replies View RelatedI must admit that the more I use and learn JavaScript, the more
convinced I am that it is one of the most expressive languages I know.
Without ways to access file i/o or databases though, can JavaScript be
considered as a serious general purpose language?
I'm getting into javascript coding and i'm stumped with some problem about radio buttons. What I would like is to have a general function where I can pass in any group of radio buttons and have it return the textual value of the radio button selected.
First, here is my code so far.
Now here's a sample form:
My question is, when i run this function and pass it in the group of radio buttons by means of the onclick event handler, firefox 3.6.22 reports in the error console on line 22 that "options[index] is undefined". It seems that if i use the variable "index" more than one time it reports this error but if I take out the assignment to variable "choice" that it works just fine.
I rewrote the function using a separate variable and this time it works perfectly:
Notice the indexing variables in the "if" statement and the assignment to "choice" are different.
including links to an image folder, for displaying 6 fullscreen images in random order without repeat for a given user?I've seen specific examples using shuffle on the site, but could anyone write a general code for any given images?
View 5 Replies View RelatedOn load, if a select box as the option X selected, display a specific input field.This works, because, after the validation, I go back to the previous page, and the input field is there.However, if someone selects the option X of the selectbox, the input field appears, BUT, if a refresh is made, we lost that input field.I understand this is a normal behavior since, we are on a client-side language, hence it should forget the previous state, but, what is the common workaround for dealing with this, in order to "preserve" the input field after refresh?
View 5 Replies View RelatedI read a lot on how to make in Javascript programs in a OOP way. After
I download
many third-party library (like YUI, prototype ecc.) and I have seen
that almost
all the function (class) are designed like literal object notation and
not in a normal
way like I learned ... now I'm confusing
on how to design my classes... I came to a Java/C++ experience ...
It seems that with object literal notation we cannot make all the OOP
constructs
that we can make with normal Javacript class creation constructs... so
why is it so largely used?
I am having a tough time coming up with a good design for a webpage.
The following is a brief description of what i am trying to achieve.
The requirement is for an insurance company and the goal is to gather
insurance policy information to give its users a quote.
The user can add/edit/delete policies before submitting it and going to
the next step.
Each Policy can have 1 Amount (required) and 0 to 3 fees associated
with it.
At a given time a user can add a maximum of 8 rows.where each
amount/fee is considered a row. So if user enters all rows (1 Amount
and 3 Fees) for the policies then the user can add a maximum of 2
ploicies. On the other hand if the user wants to enter just the Amount
then he can go to 8 policies. I have developed the webpage for this
requirement using layers but there I had to write a lot of code for
that. I am sure there is a better way to handle such a situation and
that is what i am looking for.
I am unable to include the code with this post due to its size. If
anyone is interested in looking at the code i can email it to them.
I need a html Form to accept user's input, and before the user clicks the button "submit", the user also has to select one more option (a Radio Button) to call different JSPs depending upon the user's selection.
For example, if the user selects Radio Button 1, the Submit operation will call X.jsp; if the user selects Radio Button 2, the Submit operation will call Y.jsp and so on.
I was writing my classes in an old fashion until today when I came across a new design pattern. Javascript is not an established OOP like C++ or Java. It doesn't have any easy way to create classes and to make private/public methods or properties as well as class-constructor. But it could be done in many ways.
My old way of OO design in Javascript was like following:
Code:
Those who were trying to write constructor and access public vars from private or vice versa, you would have probably faced some minor difficulties. But it was doable.
Now, the challenge is how can we make things cleaner and better. Here's the procedure I came up with:
Code:
How to design a vertical progressbar. using jquery and css .. Also it must be having a flow like from up to down and vice versa. also the progress must be animated..
View 9 Replies View RelatedI was asked an interesting question today: what is the best design pattern for form validation? This got me thinking. Form validation, on a theoretical level, is pretty simple, you: listen for events from the form, pass inputted data from the form through some validation functions, then react accordingly. I haven't really thought about design patterns on such a macro level. This does seem like a pretty standard mvc setup when I think about it, but is there a better option? Some pattern I haven't though of or heard about?
View 1 Replies View RelatedHow to design Fixed Web Page Header and footer using jquery in ASP.Net.
View 1 Replies View RelatedWhich one is easier? and which gives best design and interface?
View 1 Replies View RelatedI have a search form all over my pages and I have a page for the results. What I wanted to do is when I clicked the button, I want message on the page where the results are. the message would would be "Results related for (text that inputted on the search form)" and I also wanted to put an image background for that.
<form action="http:pinoytopics.com/mark/gospel/test-2/" id="frm_search_form" method="get">
<input type="search" name="frm_search" id="frm_search">
<input type="submit"name="Submit"id="btnsubmit" value="Search">
</form>
I need save to my html page id path adress like id="#videos/fashion/test.txt" but if I want find this line like $("div").find("#videos/fashion/test.txt") it doesn't find it. I think it for the slashes. What is the best way to save into html page value and not to be seen on design view?
View 1 Replies View RelatedI wanted to start my research on the topic of slideshows here and ask if anyone knows what's the best method for creating a slideshow that should have the ability to display images and videos (and bookmark them)? It can be a plug-in, but this is for a client so it has to be okay for commercial use (and free).It should also be able to support other content like ads and polls/questionaires, in the form of a div. Also HTML 5 compatible with all the cross-browser compatibility one would expect.
View 4 Replies View RelatedI am trying to design a web page with multiple input fields to use the keypad, but I also want the prompt to change with each field
View 1 Replies View RelatedI'm using custom javascript tooltips to show information about designs in a t-shirt shop, such as design name and artist. I downloaded the code and CSS for the tooltips and am attempting to assign the tooltip to each design using a javascript array and a for-in loop. Only problem is that the tooltips aren't showing at all, no matter what I do. I think the problem is related to the onmouseover event that I'm using, but the only thing that seems to work even partway is changing the visibility to "show" in the CSS. From that I can see that the text is being assigned to the tooltips properly and that they are being positioned within the window, but the onmouseover event is having no effect either way when I revert the visibility back to "hidden."
[Code]...
I need to localize my validation plugin in general. Hence I thought I have to override the default code with this one:
But it's not working. Another problem is, that I can't access input names like this > name="xyz[1]" Is there a way to do so?
This is a makeshift sort function for a table. I want to replace a div contents with a javascript function call. It works fine if I define the individual case, but the general case doesn't work. The problem lies with the +divHold+ part. It never converges to the passed value on the 2nd iteration. This is my Div:
[Code]...
i'm in need of a DHTML program for design tourism management program.. Since i don't have idea on it i unable to design it.
View 1 Replies View Related