473,386 Members | 1,842 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Using Random image in flash card

Hi Everyone,

Description: I have created flash cards using html layers, jpegs, and
javascript. The way I designed it is, I have words and their
descriptions (meaning) as jpeg files. Each word and it's meaning are
on separate layers. I can go to the previous card, the next card, or
see the answer( Meaning). (This is my navigation.) Each link (previous
etc..)is a hot spot on every image. When I click on any hotspot I pass
the image name and layername, to show a particular image on a
particular layer.

Problem: What I want to do is:
1.) I want to put another hot spot or link on the site e.g.shuffle,
that would randomize the order of images and the associated layer.

2.) I would like to put the counter somewhere on the page which would
display the card number and total number of cards in the series e.g. 1
of 10.

Do you think these changes are possible with the way I created my
flash cards? If so, could anyone help me? If not, is there a better
way to create flash cards using javascript? Is there any tutorial that
would help me?

If anyone would like to see what I did click on the link below:

http://people.sinclair.edu/vandanarola/3D'sflashCard/content/flashcardrev.htm

Any insight in this matter would be appreciated.

Vandana
Jul 23 '05 #1
3 4993
"Vandana Rola" <vr****@yahoo.com> wrote in message
news:b9**************************@posting.google.c om...
Hi Everyone,

Description: I have created flash cards using html layers, jpegs, and
javascript. The way I designed it is, I have words and their
descriptions (meaning) as jpeg files.


What's wrong with having words as plain text? you can still hide plain text
with javascript if you put it in a div, or indeed any tag.
Jul 23 '05 #2
Lee
Vandana Rola said:

Hi Everyone,

Description: I have created flash cards using html layers, jpegs, and
javascript. The way I designed it is, I have words and their
descriptions (meaning) as jpeg files. Each word and it's meaning are
on separate layers. I can go to the previous card, the next card, or
see the answer( Meaning). (This is my navigation.) Each link (previous
etc..)is a hot spot on every image. When I click on any hotspot I pass
the image name and layername, to show a particular image on a
particular layer.

Problem: What I want to do is:
1.) I want to put another hot spot or link on the site e.g.shuffle,
that would randomize the order of images and the associated layer.

2.) I would like to put the counter somewhere on the page which would
display the card number and total number of cards in the series e.g. 1
of 10.

Do you think these changes are possible with the way I created my
flash cards? If so, could anyone help me? If not, is there a better
way to create flash cards using javascript? Is there any tutorial that
would help me?


What you've done seems to work well, but as you've found,
it's difficult to modify, particularly if you want to add
new cards. See if there's anything that you can use from
this example. It's designed for current versions of Netscape,
Mozilla, or Internet Explorer:

http://azphx.com/dhtml/tmp/flashcards/flash.html

Jul 23 '05 #3
Lee <RE**************@cox.net> wrote in message news:<ca*********@drn.newsguy.com>...
Vandana Rola said:

Hi Everyone,

Description: I have created flash cards using html layers, jpegs, and
javascript. The way I designed it is, I have words and their
descriptions (meaning) as jpeg files. Each word and it's meaning are
on separate layers. I can go to the previous card, the next card, or
see the answer( Meaning). (This is my navigation.) Each link (previous
etc..)is a hot spot on every image. When I click on any hotspot I pass
the image name and layername, to show a particular image on a
particular layer.

Problem: What I want to do is:
1.) I want to put another hot spot or link on the site e.g.shuffle,
that would randomize the order of images and the associated layer.

2.) I would like to put the counter somewhere on the page which would
display the card number and total number of cards in the series e.g. 1
of 10.

Do you think these changes are possible with the way I created my
flash cards? If so, could anyone help me? If not, is there a better
way to create flash cards using javascript? Is there any tutorial that
would help me?


What you've done seems to work well, but as you've found,
it's difficult to modify, particularly if you want to add
new cards. See if there's anything that you can use from
this example. It's designed for current versions of Netscape,
Mozilla, or Internet Explorer:

http://azphx.com/dhtml/tmp/flashcards/flash.html


Thanks, Lee. That's exactly what I had in mind. I think this example
would help me alot.
Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: Paul C-T | last post by:
Hi, Is there a way to repeat a set of code until a certain if statement is satisfied. If it is then to exit the loop and if not repeat the code? Say I want to write a card game application in...
29
by: Chris Dutrow | last post by:
I searched around on the net for a bit, couldn't find anything though. I would like to find some code for a function where I input A Range Of Integers For example: Function( 1, 100 ); And the...
5
by: Raman | last post by:
Hello friends, I want to print an ID card. I have one Windows Form that contains front and back side. The printer is printing both front and back side at a time. I am trying to send both sides...
3
by: dan | last post by:
Hi all, I have a question about flash-memory lifespan. My database consists of 1 table, the table has 50 fields of 10 bytes each, thus each record will have 500bytes. There are 1000 records in...
1
by: CapMaster | last post by:
I've found some programs of how to create a standard game of blackjack on C++. But how would you do it using structs? Here is my assignment: Problem Statement: The purpose of this project is to...
2
elamberdor
by: elamberdor | last post by:
Hi All! Well, i'm modifying a dynamic map, with lat and long datapoints, my problem is it loads in text perfectly onto exact points I specify on the map, ..well now I want to load in...
1
by: =?Utf-8?B?Sm9lIE1pbGxlcg==?= | last post by:
I am a developer and a photographer, and I am trying to write a windows service that can recieve a notification that a compact flash card, or an SD card has been insterted into a card reader slot. ...
0
by: PetterL | last post by:
I'm writing a program that confiuring and install a custom app onto a flash card for an embedded device. This is now a two step operation. First in to windows CE builder 4.2 formatt and install CE...
4
chathura86
by: chathura86 | last post by:
i have written a php script to select 13 different card from a card pack here is the script $selectedCards = array(); $cardValues = array('2', '3', '4', '5', '6', '7', '8', '9', 't', 'j',...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.