I want to create a horizontal stacked bar chart that it will support zoom in/out and mouse over events. I also want some times instead of colors to be able to use patterns. For the first part it seems that only dojo can produce those charts. In addition, i haven't seen any javascript library to support patterns in any kind of chart.
How do you count patterns in record fields and create an array of it?For example:Searching in (using my example below) currently gives me multiple outputs of
0 0 (**in** seen at index 0 of book 0 title record) 0 13 (**in** seen at index 13 of book 0 title record) 1 19 (**in** seen at index 0 of book 1 title record)
I need to search and replace patterns in web pages, but I can't find a way even after reading the ad hoc chapter in New Rider's "Inside JavaScript".
Here's what I want to do:
function filter() { var items = new Array("John", "Jane");
for (x = 0; x < items.length; x++) { //Doesn't work pattern = '/' + items[x] + '/' //Doesn't work either document.body = document.body.replace(pattern,"IGNORED"); }
ie., create an array of items to look for in the BODY section of the page, and if any item exists, replace the item with IGNORED.
I 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?
I have created a web page using tabbed spry in dream weaver. I then have an accordion with thumbnail images that I then want to make div tags appear / dissappear on clicking. The problem occurs when I want to click on something that is below a div tag I've shown. can't click any of the links on div tags under the top ones as they block them.
Is there anyway of making the div tags totally disappear so taht the urls can be clicked
aletheacarey dot co dot uk /hereyougo/new%202.php Click collections > firefly then the top thumbnail then the second then hide second and try the top thumbnails close button to see what I mean.
As the subject suggests, I'm interested in having a "picture/information" page on my site. I want a simple list of 5 to 10 thumbnailed pictures when the page loads in which each one is stacked on the other. I would like each to expand with a bigger picture and text information about the picture via user interaction. I have two options - I don't care which one I use:
#1. Once loaded, I would like each thumbnailed picture, once clicked, to expand and show a bigger picture and text information about the picture. I wouldn't mind using this option but this option is more of a hassle and causes more clutter/less interaction.
#2. As I thought about this, I think a better option would be to expand to a bigger picture and text information using a mouse rollover instead of a click so that, once a user moves the mouse back off the bigger picture and information, it reduces back to the thumnail. This would allow for a better organized and better looking page. This effect, I would assume, is almost like text links changing color using mouse rollover.
* Which option would you suggest using?
* Is option #2 even possible?
* I would prefer using option #2.
* I've experimented with this code (however, it used option #1, not #2, and it requires clicking an entirely different button to do so): Code:
I am needing to create a "dashboard" of charts and graphs and have been looking around at all the many different plugins that can handle that. I am wanting to stay away from flash. What is your favorite to use for charts and graphs?
I need to develop a scrolling price ticker, which shows live price quotes and retrieves data through PHP file and that retrieves from back end server. That ticker should have an Embed function also like a Widget, so other blog, websites, they can put the live quotes ticker also.
How to be able to create charts, with a selection of different time-frames, and currency pairs. And it should also has Embed feature like a widget.
i need something simple without much overhead to read plain text (tab separated, columns & rows of data) .. and with the data i need to generate some charts (plot, bar, etc) better be interactive
since javascript doesn't need webserver like php .... setup is simple .. and can be run on any OS. i think it is my best candidate.
i dont know if javascript has any package to do stuff like this. what about interactive graph/chart? is it possible?
I'm a complete rooking at javascript (and haven't looked at php in months), but am wondering if its possible to do the following with javascript. I have a listing of 10 to 16 teams. I'd like to be able to list the teams in a drop down select box. And when the user selects a team, that teams listing of players is than shown below. The user should than be able to toggle through the listing to review each time.
jqPlot is an open source plotting plugin for jQuery. The 0.6.2 release adds many new features including: Rotated axis text. Vertical and horizontal bar charts. Automatic trend line computation. Data point highlighting. Cursor tooltips showing data and grid position. And many other features.
The jqPlot homepage is at [url]
The downloads page is at [url]
The mailing list/Google group is at [url]
jqPlot is built from the ground up as an extensible and plugable plugin. Handling of data, drawing of plot elements, events, virtually everything is handled by a plugin. This means you can enhance or swap out core functionality without touching the core code.
I have a problem getting the following simple example of "document.write" creating a script on the fly to work in all html browsers.
It works in I.E., Firefox, and Netscape 7 above. It doesn't seem to work in Netscape 4. Am I missing something with it? When I look at page source in Netscape 4 the script isn't even shown. Code:
I'm trying to create a function in JavaScript using Dreamweaver8 such that when a user hits the ' F1' key when a text box is selected a separate "pop-up" window will open, with text of my choice.
Does anybody have any pointers or even some source code? I use ASP on my server.
how you would piece together a variable name and then assign it a value. I want to create a hidden field and assign it a value based on the value of another variable
rote a bunch of Javascript classes for this framework I'm working on and want to be able to create instances of the class using just it's name string. For example: Given the following class
I am writing a function that alerts a user that they did not enter a password what change do I need to make to this code to correct my issue it isn't doing anything.
I have the last assignment that she wants us to do and I had to pull up another assignment that she wanted us to build upon( which is one of those coding without anything advance)
<html> <head> <title>
[code]....
now she wants us to do max <beta and then name the variables with if a<b and I don't know if I put that in the concatenation or what to name my variables!
i am fairly new to JS for which i am working jQuery but that is for later.right now i am not getting my table printed out when i put input type="text".
here is my code
[Code]...
moreover i m writing this code to later call in a dialog box. using jQuery. but for now why isn't my code being printed with input type. do i have escape "" inside "" like in php? can i make more hierarchy type html in JS, i see when i put the td in next line the code doesn't execute. i guess white spaces have some significance in JS?
I need some help creating a script. Forgive me for posting this in multiple forums, as I first posted this in the php forum, but I know it can be done with a client side javascript as well. So here goes. I need to create a form where I can paste a list of domain names, click submit (or even just on mouseout, etc.), and have the script then return me to a page (or update a select field on the same page) with the domain names formatted within html code hyperlinking to the name. For example, if I were to paste a list of
then click submit (or move my mouse out, [we're talking javascript here, right...]), it would return the following results, ready for me to then paste into my webpage: