15,909,518 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by zakaryfaithfull (Top 8 by date)
zakaryfaithfull
14-Sep-12 11:16am
View
Unfortunately this did not work, it stopped the show/hide from working at all :/
zakaryfaithfull
1-Apr-12 17:38pm
View
Thankyou for your response once again.
I have had a look at the JQuery selectors method and it looks very useful.
The only thing I am confused about is how to replace the content each time a thumbnail is clicked. For example:
<div id="triggers">
//When thumb1 is clicked, gallery 1 displays
<div class="thumb1"><img></div>
//When thumb2 is clicked, gallery 2 displays replacing current gallery
<div class="thumb2"><img></div>
<div class="thumb3"><img></div>
</div>
<div class="gallery_show">
<div class="gallery1"></div>
<div class="gallery2"></div>
<div class="gallery3"></div>
</div>
Thanks
zakaryfaithfull
30-Mar-12 15:02pm
View
Your answer appears to make sense, however I am still unsure how to do this as I am not completely competent with javascript.
Is there a way to do this with JQuery?
zakaryfaithfull
15-Jan-11 21:18pm
View
Do you have any idea how I would override the toString? I am still learning java so anything would be useful! thanks
zakaryfaithfull
11-Aug-10 8:46am
View
what should it be then? clearly some of us don't know programing as well as others!!
zakaryfaithfull
9-Aug-10 19:36pm
View
your lovely. cheers for the help.
zakaryfaithfull
6-Aug-10 9:47am
View
This has worked almost perfectly! In my text file I have more then one order, i.e.
Poppy Stuart
Pops
25 Underlane Street
25/09/2010
12.00
meat
try neighbour opposite - she visits there a lot!
ordered
Margaret Coomes
Maggy
14 Furzehill Road
25/09/2010
12.10
fish
no special requirements
ordered
Jennifer Saunders
Jenny babe
154 Frogmore Avenue
25/09/2010
12.30
vegetarian
must call 01752 246965 before you go - she is disabled and needs help to eat
cooking
I would need to split each order into a seperate listbox item. Currently the whole text file is showing as one listbox item.
Hence for the above I would need my listbox to show as follows:
Poppy Stuart, Pops, 25 Underlane Street, 25/09/2010, 12.00, meat, try neighbour opposite - she visits there a lot!, ordered
Margaret Coomes, Maggy, 14 Furzehill Road, 25/09/2010, 12.10, fish, no special requirements, ordered
Jennifer Saunders, Jenny babe, 154 Frogmore Avenue, 25/09/2010, 12.30, vegetarian, must call 01752 246965 before you go - she is disabled and needs help to eat, cooking
zakaryfaithfull
6-Aug-10 9:33am
View
my code is now as follows:
public addOrder()
{
InitializeComponent();
StreamReader sr = new StreamReader("orders.txt");
string input = null;
while ((input = sr.ReadLine()) != null)
{
ordersList.Items.Add(input);
}
sr.Close();
}
This is now reading from the text file successfully. However it is reading 'Poppy Stuart' as one list item, 'Popps' as another list item etc.
I need the listbox to read the following as one list item with a comma separating the parts i.e Poppy Stuart, Popps, 25 Underlane Street... etc:
Poppy Stuart
Pops
25 Underlane Street
25/09/2010
12.00
meat
try neighbour opposite - she visits there a lot!
ordered
Show More