|
The text area to provide comments for the vote shows hovering mouse over radio buttons. I think it should come up once the member has selected any radio button. BTW I am using FF 3.6.8.
|
|
|
|
|
We used to have this but we stopped because if members didn't have javascript enabled they couldn't vote, and/or the layout was screwed (depending on which path we chose).
Our current method relies on CSS, not javascript, to show the comment box so it works either way.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
You can use both CSS and JavaScript, that way those with JavaScript get the best behavior and those with CSS still get functioning behavior. Applying styles directly to the elements using JavaScript will override the CSS (or you could change a class using the JavaScript, which would have the same effect).
|
|
|
|
|
Yes you can.
What logic flow would you suggest? We've tried a few and I'm open to suggestions.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Have some CSS classes that popup the textbox when the user mouses over certain elements... you'd use a hover pseudo class for that (I'm guessing you do this now). Set the classes on the HTML elements so this CSS gets used.
When the page loads, have some JavaScript to remove those classes (so they will not be used by those who have JavaScript enabled). When a radio button is selected, add a class (using JavaScript) that displays the textbox.
When "Vote" is clicked, hide the textbox, change the vote average, reset the radio buttons, and show the "Reason for my vote of x" comment. If JavaScript is enabled, this can be done using AJAX. If there is no JavaScript, this can be done with a postback (I imagine you do this now).
|
|
|
|
|
What a good idea
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
This user[^] has 20 answers in the Q&A section and he links to the same site in all of them. Maybe he's advertising, maybe I'm wrong.
The bearing of a child takes nine months, no matter
how many women are assigned.
|
|
|
|
|
Yeah that's some fairly obvious and blatant advertising. The user needs to be banned.
|
|
|
|
|
Thank you
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
This site[^] seems to contain copies of several CP forum messages by different authors, such as this ons[^].
|
|
|
|
|
That's truly odd. As long as they don't squrid us up I'm not too worried.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
How did you found that site?
|
|
|
|
|
I wrote a little app that compares all web pages, similar to my TextFileDiff article.
Or maybe I just googled squrid and found it to be an exceptional word.
|
|
|
|
|
Luc Pattyn wrote: I wrote a little app that compares all web pages
That would still be faster than the file compare utility of TFS.
Luc Pattyn wrote: squrid
It reminds me of Giant Squid. What an amazing creature they are.
|
|
|
|
|
Sounds like you want to keep it a secret...
|
|
|
|
|
OK I'll spell it out for you: I found this message[^] during my daily CP scan, I didn't know a word in the subject line, so I googled it, and I found only a few hits, I looked at the non-CP ones, et voila.
|
|
|
|
|
Thanks!
|
|
|
|
|
Perhaps the authors are members of both sites and ask the same question in multiple places to increase the odds of getting an answer. I've come across that before... in trying to find a an answer to a question posted on CP, one of the Google results was the same question on another site.
|
|
|
|
|
|
Why posting everthing in CAPS? It is considered as shouting. Edit your post and tone down.
chirag.khatsuriya wrote: I CAN'T DOWNLOAD DOCUMENT/ATTACHMENT FROM THIS ARTICLE
Yes, the attachment is not getting downloaded. It gives HTTP 500 error[^].
Once someone from CP are here, they will look into it.
|
|
|
|
|
Hi Chirag,
The URL is available now. Try it again & if you are still unable to download, let me know. I have a copy of it. In that case, I will share it to you.
Don't forget to Click on [Vote] and [Good Answer] on the posts that helped you.
Regards - Kunal Chowdhury | Software Developer | Chennai | India | My Blog | My Tweets | Silverlight Tutorial
|
|
|
|
|
Has the auto - format of links been disabled?
No matter where I paste a link (in QA or other forums) it never gets auto - formated anymore.
Happens on web24 / 18 that I'v been able to see
On Chrome 5
|
|
|
|
|
I can't replicate it on Firefox 3.6.8. Works perfectly for me.
..Go Green..
|
|
|
|
|
Weird let me try again
http://www.codeproject.com/script/Forums/Edit.aspx?fid=1645&select=3579450&floc=/Forums/1645/Site-Bugs-Suggestions.aspx&action=r
K this is getting weirder with the second
Try'd to paste that link above 5 times now
first 2 was a no go
second 2 was good
last time is what you see now (no go )
All in the same message all within a time frame of a couple seconds
It used to work fine for most of the time for me. I'v reported this a couple times before but since 90% of the time it got formated I didn't care much but now it's 99% of the time that it doesn't get formated so...
Last try
http://www.codeproject.com/script/Forums/Edit.aspx?fid=1645&select=3579450&floc=/Forums/1645/Site-Bugs-Suggestions.aspx&action=r
nope still not
|
|
|
|
|