price:(?:(?:\d+)?(?:\.)?\d+|min)-?(?:(?:\d+)?(?:\.)?\d+|max)?
This Regex matches the following examples correctly.
price:1.00-342
price:.1-23
price:4
price:min-900.00
price:.10-.50
price:45-100
price:453.23-231231
price:min-max
Now I want to improve it to match these cases.
price:4.45-8.00;10.45-14.50
price:1.00-max;3-12;23.34-1...
Hey guys,
I'm a jQuery newb and I've been trying to create a custom slideshow widget for a page that I'm developing. I've been able to get all the basic bits working (autoplay, pause, captions) but I've hit a roadblock with the pagination (allows you to pick the slide). For whatever reason once I try to select a slide the image and the c...
I'm using the latest version of timthumb for creating thumbnails of the images on the fly.
My local server for development is on Windows Vista, Apache 2.2, php 5.2.13,
gd library is enabled with full support:
GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Vers...
i'm trying to do something like:
--------------------------------------------
| --------- text text text text text text |
| | image | text text text text text text |
| | | text text text text text text |
| | | text text text text text text |
| --------- text text text text text text |
| text text text text text text tex...
Don't get me started on why we have to use faxes but we have to. :(
Here's the issue. We are using the AsyncPro fax controls in Delphi 2010 to send faxes. It all works well, EXCEPT, if we add an area code on to the recipients phone number, say 033539901 (with 1, for the dialing prefix) the fax machine rings, it answers, but refuses to ...
Hello guys,
I'm trying to conditionally display the content of HTML page depending if a document being generated for a recognised company or not.
However, the transformation doesn't work and I can't understand why :( I use MSXML3.0 as transformer and oXygen as IDE, which gives the errors I presented below.
What I do is to construct a ...
Say, we have an HTML, in which, all ...
<div class="replace-me">
</div>
... must be replaced with
<video src='my_video.mov'></video>
The code is following:
doc.css("div.replace-me").each do |div|
div.replace "<video src='my_video.mov'></video>"
end
It's simple, but, unfortunately, it does't work for me. Nokogiri crashes with f...
Hi,
I'm developing a WCF service (NetTcpBinding) and it works just fine without security. We bought a certificate from DigiCert and installed it on the server and configured with DigicertUtil.exe. Also installed on the test client machines.
Turning on the security I'm able to connect to it from my dev PC without problems.
Server confi...
Hi,
Following problem:
I'm having a table with 3 columns and I'm using jQuery to set the column widths by code, like:
var tr = $("tr",myTable).eq(0);
var cells = $("td",tr);
cells.eq(0).width(100);
cells.eq(1).width(150);
cells.eq(2).width(300);
Works nice under Firefox, but IE8 acts very strange: The 2nd column shows up on screen w...
Hi all,
I have a simple util that uses some unsafe code to get the file version information. when I compiled this as mixed platform (vs2008/.net 3.5) and deploy to 64 bit machine I get a heap corruption error. If I recompile as x86 then everything works....
This was suprising because of my understanding of the .NET Common Type Syste...
Hallo all.
I found a lot of thread but none worked out.
I have an iframe and with ie6 it presents the horizontal scroll bar.
I tried to fix the padding problem as shown with padding: 10px 0; but doesn't work.
The doctype should be ok.
Any other suggestion?
Kind regards
Massimo
...
I am creating an online service where "special users" can upload their images. It is very important that the images are not exposed to anyone else than the user who uploaded them. I have heard that the best way to protect the images is to put them over the webscope.
So far so good.
My problem is that i can't display the images, how is ...
When i launch my application, it starts from the page I was at the last time? (even though the simulator is brand new, and I just installed the apk file)
How can i avoid it, and force it to load from my main activity every time?
I also created a new emulator, and installed my apk file on it, now when i go to the page that displays the a...
hi
friends i have problem with using get or set in class in c#
when i use get or set in gives error(invalid token { in class)
pls, see below code,i have this problem in it
static int abcd
{
get
{
return _abcd;
}
}
thanx
this is the complete code,i dont have this problem with any of your codes ...
Okay, so I'm calling images from a sprite for my image slider. What happens is that when a page is loaded, all slideshow images are displayed horizontaly thus making it appear bugged. A solution we worked out was to set images to preload. It works fine in Firefox, but in IE it appears bugged. Here are the two lines of code that matter (w...
When i try to put something on a git server it's givin' me an error:
"Reference to undefined variable USER"
In bash: echo $USER giving me correct answer.
What could it be?
It's eclipse with aptana-3 plugin (a whole pack)
...
ListView ls=(ListView)findViewById(**R.id.list**);
ls.setOnItemClickListener(new OnItemClickListener() {
public void onItemClick(AdapterView<?> a, View v, int position, long id) {
AlertDialog.Builder adb=new AlertDialog.Builder(ListAllTracks.this);
adb.setTitle("LVSelectedItemExample");
// adb.setMessage("Select...
foreach(BruteforceEntry be in Entries.Values)
{
if (be.AddedTimeRemove <= now)
Entries.Remove(be.IPAddress);
else if (be.Unbantime <= now && be.Unbantime.Day == DateTime.Now.Day)
Entries.Remove(be.IPAddress);
}
An exception was thrown:
Collection was modified; enumeration operation may not execute.
For some reas...
Hi, I am trying to get the fade effect of my image slider plugin to work correctly with links.
At the moment the slider fades correctly however the links are failing to change. The first image is supposed to link to Google.com & the second link is supposed to link to Hotmail.com however both of them are linking to Hotmail.com only (the ...
hi my dear friends :
i am so mad about marquee in ie 8...
i am using asp.net web application...
i do not know what is going on about that ?!!!
when i browse my asp.net page in browser (ie 8) so Marquee Is Reset At The Middle Of Show.
but in fire fox every thing is ok.
how can i fix that ? or is there any other way for doing this jo...