Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
numbered
- Page 1
Creating numbered variables inside a loop
Programming
Web Development
14 Years Ago
by Venom Rush
… to cycle through entries inside a MySQL db and create
numbered
variables inside a for loop. Currently it doesn't seem…
Date/Time Stamped and Numbered filenames when saving to jpeg?
Programming
Software Development
14 Years Ago
by mench2
….jpg e1c938560fc1464ab2138065fc4661d3.jpg Instead I want a date stamp and
numbered
filename: for instance: 20091015_131644_001.jpg <--(Date_Time_NumberIncrement) 20091015_131551_002.jpg Or…
Create Files In Numbered Sequence In C#
Programming
Software Development
12 Years Ago
by shandoosheri
Hi i need to create about 100 files in a
numbered
sequence like : file1.txt,file2.txt,file3.txt . so how can i create these files using c#.
How to create custom marker with numbered label?
Programming
Web Development
9 Years Ago
by sanjay_7
… am trying to create custom marker in google map with
numbered
marker. in which marker image is custom and want to…
Re: Copying even numbered files in linux through terminal
Hardware and Software
Linux and Unix
10 Years Ago
by JasonHippy
… the current directory and you want to copy the even
numbered
ones to a sub-directory called "even" you…
Numbered Snippets
Community Center
Meta DaniWeb
18 Years Ago
by Comatose
I don't like having the numbers, (or the change in color) to the code snippets. While the idea is there for tutorial purposes (see line 5), it makes things a lot more difficult to copy and paste the code. While at first glance (in firefox) it seems that you are only copying the selected code (since the numbers don't get highlighted [see first …
Re: Numbered Snippets
Community Center
Meta DaniWeb
18 Years Ago
by Dani
I am able to copy and paste the code snippets in both Internet Explorer and in Firefox into MS Notepad or MS Word without the line numbers with no problem. I'm using Windows XP. Additionally, when using my Mac, I am able to copy from the Safari web browser into XCode without line numbers. However, both Dave Sinkula and now you have informed me …
Re: Numbered Snippets
Community Center
Meta DaniWeb
18 Years Ago
by Comatose
That is weird. I was under the impression that the numbers had no effect on the copy and paste operation... furthermore, the numbers do NOT get highlighted.... which is a real crazy situation, if someone (anyone) knows why this happens, PLEASE, let me know.
Re: Numbered Snippets
Community Center
Meta DaniWeb
18 Years Ago
by Dani
After talking to Dave Sinkula via PM, we came to the conclusion that it works fine when copying and pasting to a real text editor. It also works when copying and pasting into the vBulletin Standard Editor. However, the line numbers do get included when copying and pasting into the vBulletin Enhanced WYSIWYG Editor. I think this is more of a …
Re: Numbered Snippets
Community Center
Meta DaniWeb
18 Years Ago
by Dani
Okay ... I'm getting people PMing me about this issue and people posting here, and it's getting really confusing. It always works for me, so to get to the bottom of this issue, I need to know exactly when it works and when it doesn't for who. Does it indent properly when you copy and paste? Does it preserve the line numbers all the time or just …
Re: Numbered Snippets
Community Center
Meta DaniWeb
18 Years Ago
by Comatose
Umn, the numbers are gone..... the indenting works properly. Now about them colors....
Re: Numbered Snippets
Community Center
Meta DaniWeb
18 Years Ago
by Dani
Okay ... quick question, so the indenting didn't work with the line numbers?
Re: Numbered Snippets
Community Center
Meta DaniWeb
18 Years Ago
by Comatose
Yes it did. See my first post's first attachment. Lines 8-11 ;)
Re: Numbered Snippets
Community Center
Meta DaniWeb
18 Years Ago
by Dani
So what exactly was the problem with the line numbers? The line numbers copied over? Gah, now I'm even more confused :)
Re: Numbered Snippets
Community Center
Meta DaniWeb
18 Years Ago
by Comatose
Right. Exactly. Indenting isn't a big deal. In fact, it wasn't until recently that code-snippets became indented. I was used to copying code from the snippets, and indenting what was needed..... it's nice now not to have to, but that was never the issue. The issue I had all along was that the numbers got copied to the clipboard, even when the …
Re: Numbered Snippets
Community Center
Meta DaniWeb
18 Years Ago
by Dani
See no matter what program I used, the numbers never got copied to the clipboard. I was able to paste into Notepad, Wordpad, XCode, or any IDE in Windows or Mac and the numbers never got copied. But I noticed that indenting didn't copy over when using numbers but it did without.
Re: Numbered Snippets
Community Center
Meta DaniWeb
18 Years Ago
by Comatose
Strange..... the good news is, you've removed the numbers.... so my problems are fixed.
Re: Numbered Snippets
Community Center
Meta DaniWeb
18 Years Ago
by Dani
Hmm ... I liked the numbers though. I think they could have been very conductive to discussing the code snippet and referring to parts of it. So I won't be happy until I can get the line numbers to work the way they are intended to. Obviously, however, the ability to copy and paste is a priority that outweighs little numbers in the margin.
Re: Numbered Snippets
Community Center
Meta DaniWeb
18 Years Ago
by Comatose
magic div's?
Numbered Icons
Digital Media
UI / UX Design
12 Years Ago
by Vanquish39
Hi guys I'm new to html and css and would like to know how to create something like the picture. Basically I need to create any image and add a number to the top right corner via a function. If there are examples please do share. Note: this is not for iPhone. Thanks [url]http://i.stack.imgur.com/RAi44.png[/url]
Re: Numbered Icons
Digital Media
UI / UX Design
12 Years Ago
by hericles
Hello, You will need a combination of CSS and javascript to do. CSS to display the base image in the right location (i.e. top right but with no text included) and the javascript to accept the number and place it over the image. The easiest solution is probably a single div with the image of the bubble set as the background image. Inside that you …
Re: Numbered Icons
Digital Media
UI / UX Design
12 Years Ago
by lps
How about trying to do it by using ordered list(<ol></ol>)?
Re: Numbered Icons
Digital Media
UI / UX Design
12 Years Ago
by drjohn
What does the number represent? Is it a count of something the user is doing? Or is it the step in a process that the user has reached?
Re: Numbered Icons
Digital Media
UI / UX Design
12 Years Ago
by Commando112
[QUOTE=Vanquish39;1744436]Hi guys I'm new to html and css and would like to know how to create something like the picture. Basically I need to create any image and add a number to the top right corner via a function. If there are examples please do share. Note: this is not for iPhone. Thanks [url]http://i.stack.imgur.com/RAi44.png[/url][/…
Re: Creating numbered variables inside a loop
Programming
Web Development
14 Years Ago
by ShawnCplus
[code=php]$var = $variable.$i; $$var = $row[0];[/code] I'm not entirely sure why you would want to do this instead of use an array though.
Re: Creating numbered variables inside a loop
Programming
Web Development
14 Years Ago
by Venom Rush
[QUOTE=ShawnCplus;870800][code=php]$var = $variable.$i; $$var = $row[0];[/code] I'm not entirely sure why you would want to do this instead of use an array though.[/QUOTE] I was just fiddling with the idea of an array. But the code I have doesn't seem to be working properly. [CODE=php] $variable = array(); while($row = mysql_fetch_row($…
Re: Creating numbered variables inside a loop
Programming
Web Development
14 Years Ago
by ShawnCplus
[code]$variable[]=$row[0];[/code] Arrays use the []= operator, not +=
Re: Creating numbered variables inside a loop
Programming
Web Development
14 Years Ago
by Venom Rush
[QUOTE=ShawnCplus;870819][code]$variable[]=$row[0];[/code] Arrays use the []= operator, not +=[/QUOTE] Aaaah perfect. Was just busy reading up on array_push() but your answer is doing the trick. Thanks ;)
Re: Create Files In Numbered Sequence In C#
Programming
Software Development
12 Years Ago
by ddanbe
You could use a for-loop like this: [CODE=C#]for (int i = 0; i < NumOfFiles; i++) { Filname = "Myfilename" + i.ToString(); // other code here }[/CODE]
Re: Create Files In Numbered Sequence In C#
Programming
Software Development
12 Years Ago
by shandoosheri
Thank you so much ddanbe for your solution
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC