Tutorial On Dynamic SID Generation
May 31, 2006Is there a tutorial on dynamic SID generation?
View 15 RepliesIs there a tutorial on dynamic SID generation?
View 15 Repliesi have a select box which has num 1 to 10.when i select each number,that many number of textboxes and one submit buttin shud come.The submit button when clicked shud go to another page.
View 1 Replies View RelatedI'd like some help trying to generate input fields on the fly. What I
have on an HTML page is a single text input field labelled #1, e.g. #1
<input type="text">. Next to the field is a button that, on click, I'd
like to automatically generate a second text input field below the
first, labelled #2. Everytime the button is clicked, another field is
created with an incremented label.
I explored iframes, but these text fields will be part of a larger
form that has to be passed together. I'd rather not use hidden text
fields because I don't want to hardcode a limit to the number of
fields available. Please point me in the right direction, or let me
know if this isn't possible.
I am using ASP to dynamically generate a series of forms. When the
page is loaded, everything appears to be correct, except that the
first form generated fails with a "FormName is Null or not an Object"
error. Each subsuquent form created by the code after that works
perfectly. Why is it that the first form, generated with exactly the
same block of code, fails? Code:
I have to do a project, the requirements i have got are, same link on multiple pages should lead to a single page on client's site, but the page should be different for each link clicked.
What i understand from this is, we will send parameters with each link to a JS or php file and then generate a dynamic page each time, but i am not clear how many files we need to call and what will be the sequence. I want to implement this in JS and php.
how to implement it with JS and PHP if we send parameters with the url and if we don't send any parameters.
I've been working on a redesign of our site at ExperiencePlus for some time now, and long ago chose CBE menu 9 over the other menu technologies out there because of its browser independance. Problem is, as you can see, we have a pretty large site; load-times for the menus and associated scripts are approaching prohibitive. So I'm trying to speed things up.
You can see the results of some simplification here - still about the same speed by my guesstimates.
So, my question is twofold, I guess. First, Mike, do you have any ideas about how long it will take X menu 4 to reach maturity? No pressure ;^) If it were ready now, I'd just drop CBE in favor of X.
Second question: How much performance improvement can I expect from removing unnecessary code (sliding, for example) from the CBE core files? I haven't played with that stuff at all, except to read it now & then when looking for solutions to problems. Does anyone have a similarly large implementation of CBE menu9 that runs faster, so that perhaps they could share their experience?
One final thing: I'm planning to eventually shove all this into a PHP document that will auto-generate chunks of the menu from database queries, especially around the tour & country listings and our "Resource Room." (X menu 4 looks like it would be vastly superior for that purpose, since it's so lean.) I'm interested in hearing from anybody who's tried to do something like this, whether they succeeded or not.
What I'm trying to do here is to create an editing form based upon the field descriptions extracted from a database, and use jQuery (e.g., datepicker) to handle the input. So, using the datepicker example, I create an input item, make it a 'text' type, give it a name and an id, and then use $('#'+textfld.id).datepicker({ ... }) to set it up. This is NOT done at $document.ready time, but while running the form's JavaScript, so I don't know if that's the problem or not; I can't see how to use $document.ready here due to the dynamic nature of each field.
AFAICT, what should happen here is that a jQuery datepicker should be created and associated with the text field - but nothing at all is happening.
I have a form with a number of <select> fields, some of which require additional fields to be displayed/enabled depending on which <option> is chosen. For example, in the following code, I'd like a <textarea> field to be displayed if users choose the 'Other' option:
<label for="venue_type"><p>What type of venue do you require?</p></label>
<select name="venue_type" id="venue_type">
<option value="null">--Please choose--</option>
<option value="Meeting/Training/Seminar room">Meeting / training / seminar room</option>
<option value="Computer Suite">Computer Suite</option>
<option value="Examination room">Examination room</option>
<option value="Lecture theatre / auditorium">Lecture theatre / auditorium</option>
<option value="Other">Other type of venue</option>
</select>
I'm guessing that it's possible to do this using onchange, but am not too great with Javascript .
I want to make a dynamic 4 drop down menus with AJAX and PHP/mySQL, like this:
Category->dynamic subCategory
County->dynamic cityCounty
Is there any good tutorial that can teach me how to do this? I managed
to have that Category dynamicly loads subCategory and that County
dynamicly loads cityCounty but I ran into a problem when I already
picked subCategory and than went on to pick a County, because of the
reload.this function in javascript my subCategory gets lost. Can anyone
point me in right direction?
There's a feature I want to implement, but don't really know how to code. The intention is to use jQuery to convert words with a certain class attribute into Wikipedia links.
An example to make things clearer:
PLAIN TEXT: There is a <span class="wiki">penguin</span> there.
EXPECTED RESULT: There is a <a href [url] there.
Hence the code would have to grab the string of words inside the tag and place them inside a href with the first part of the link already attached to it. Doesn't seem too complicated, but I wasn't able to do it.
I have been trying to use the code below (created by Patrick Haney and improved by enraged) as a basis, but no deal. This code subistitutes words for code, but it searches for specific words.
If anybody knows a script like that, modify the code below,
All the numbers should match. It's not working right in any version of IE I test it in (6, 7 and 8). I'm also using jQuery, fyi.When you click the button to stop the numbers, I'm setting a variable named winner to a number (3, 4 or 5). Right now, I have it set to 5. This number determines how many of the slots match:[code]I'm then generating a random number (0-8) to base all the other numbers off of . Three numbers will always match, so I'm setting two more variables to match that random number.[code]Then I do some conditionals to check the value of winner. If it's 4, I set the 4th number to random number, then generate a random number for the 5th spot while it doesn't equal randomnum. I do something similar if winner is set to 5.[code]The goto trigger sends the scroll to the specified index according to slotnum(1-5).I'm waiting to hear back from the plugin developer to see if it's something to do with that.However, I just want to make sure my logic in generating those numbers is sound. It works perfectly in FF, Opera and Chrome but (surprise!) not in any of the IEs (tested in 6, 7 and 8).
View 1 Replies View RelatedI am teaching myself javascript and in the course of my experimentation have run into this roadblock: I want to display a styled navigation bar with a button beneath it. When the button is clicked, an onclick event will be triggered and the response of the browser should be to print the word "test" right beneath the button. However, what actually happens is the page blanks out and the word 'test' appears in the upper left corner of the screen.
CODE
<html>
<head>
<title>JavaScript Navanimation Example</title>
<style type="text/css">
[Code]....
i'm having a hard time on JS while i was designing my companies web page. it is running on wordpress, we choose and start correcting a template, then i stuck in the main menu navigation.
Code:
sfHover = function() {
if (!document.getElementsByTagName) return false;
var sfEls = document.getElementById("nav-ie").getElementsByTagName("li");
// if you only have one main menu - delete the line below //
[Code]....
Link me to a good guide or tutorial for prototypes?
View 6 Replies View RelatedI'm thinking about developing a Google Maps style project for the university I work at. What I'd like to do is have a graphical image of our campus we currently use, but use AJAX to allow people to select a building and have the map dynamically move and point out the location.
The map is quite big so I was thinking of having it like Google Maps where you can drag the map through an iframe without having the page reload.
Does anyone know of some good tutorials on how to do this? While our campus is relatively large, it's not large enough to just use Google Maps instead of developing our own.
I am looking for some useful tutorial for AJAX. I did search on google, I got few but thought not enough or too basic. I am looking for some tutorials that are useful from your experience.
View 2 Replies View RelatedI've made javascript tutorial for those who want to learn more
Here's the tutorial on my front page : [url] or direct link : [url]
Does anybody know of a good firefox extension tutorial?
Basically I have an XML list of things
<term>bleh</term>
<replacement>blehsky</replacement>
and I want to make the extension replace every occurance of bleh on the webpage with blehsky.
I can handle the javascript to do this, but I don't know where to start in making it into an extension.
I am a complete beginner to JavaScript (well I know this: document.write and alert) and I kneed a really good tutorial for beginners. Preferably free but I will pay up to �3 (not a lot I know but oh well)
View 1 Replies View RelatedI'm looking for a tut on how to create tabs for content, not tabs for navigation/menu. Yes, kinda confusing, but here's an example of what I'm after code...
If you scroll down mid way, you will see a tabbed area where it provides the options to check out: Photos, Location, Aeriel and Street View. This is what I want to mimic (not the tabbed navigation up top in the menu bar).
Can you recommend any tutorials that would teach me how to do this?
Can someone tell me how to learn JS? Can you recommend me some books or video tutorials? What is the best?
View 2 Replies View RelatedI'm not sure what the proper term is, so let me give you an example. Imagine visiting a web page and reading the following:
My Groups
Weather
Trivia
If you click "My Groups," an element pops open displaying a list of names. I'm not talking about a pop-up windows that you can move around. This is part of the page. It's invisible until someone clicks "My Groups."
If you click "Weather," another element opens, displaying information on the weather. Clicking "Trivia" opens a box with trivia questions.
I wonder if someone could point me to a good script or tutorial that explains how to do this. I think my preferred default setting would close all the other elements when you open a new element. For example, if you click "Weather," then the Weather box opens, but everything else closes.
However, it would be nice to have the flexibility to modify the open-shut mechanism.
I already have a script that does this, but it got mangled somehow. It requires an included JavaScript file and a style sheet working in tandem, and I haven't been able to recreate it. So I'd like to go back to square one and hopefully find an even better script - one that's a little more user friendly and/or versatile.
I am after a slide draw type menu system like this one and this one the second actually at moo tools themselves.
I have had a look a round and there doesnt seem to be any tutorials which tell you what to do, so i dont have a clue...
Moofx seem to have the scripts to download but give no indation how they work.
I'm trying out scripts previously made but with no luck. I cant get it to work.
Nothing to indepth. Nothing to fancy.
I just want a 4 image swap inside my div.
Can anyone guide me to a tutorial on how to build one?
Last year, just a few days before holidays, I wrote a tutorial about a new feature available in Firefox 3 that allows web developers to do AJAX-style file uploads. Initially I intended to publish this tutorial as a SitePoint article, but it got rejected so I published it on my blog.
Now, I'd love some feedback. So, if there's anyone out there that has enough patience to read an exhaustive tutorial about uploading files with nothing more than JavaScript I'd like to hear her/his opinion. If it's crap just tell me 'cause indifference kills. Anyway, if patience is not your strong point there's a ZIP package containing both a "simple" and a "complex" take on the problem. Try those.
I'm trying to find a tutorial or download of a horizontal accordion menu using Javascript / CSS. There are plenty of drop-downs but little-to-no horizontal versions.This is the kind of thing I'm after but aligned left rather than centred.
View 1 Replies View Related