15,917,862 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 Jukatzu (Top 20 by date)
Jukatzu
21-Apr-13 12:25pm
View
thank you, your explanation has mattered a lot though ;)
Jukatzu
21-Apr-13 12:20pm
View
hmmm I see, so that explains it, great. How can I then make the element height based on the amount of items inside it? Let's say current info-col has 10 items, so height is 200. info-col next to it has 3 items so height needs to be 60 only!
I don't want the element height to be fixed and position has to be relative. Is there a way?
Jukatzu
21-Apr-13 12:11pm
View
I know that. Thank you. I just want to find out why removing the height prevents it from working. Thanks again for your help abforce.
Jukatzu
21-Apr-13 12:06pm
View
Yes, the scrolling occurs by getting the mouse Y position and scrolls the element relative to that. Now that used to work fine before I removed the height 200px as you see from above. What isn't it anymore?
Jukatzu
21-Apr-13 11:57am
View
Hi abforce,
info-col used to be the one commented, now its the one beneath it:
/*.info-col { float: left; width: 0px; height: 200px; padding: 0px 0 0 0; overflow:hidden;}*/
.info-col { float: left; width: 0px; padding: 0px 0 0 0; overflow:hidden;}
jquery scrolltop function:
$(".info-col").mousemove(function (mouse) {
$(".info-col").scrollTop((mouse.pageY - $(".info-col").offset().top) * .81);
})
Thanks a lot for your quick reply. If you need anything else please tell me.
Justin
Jukatzu
20-Feb-13 7:03am
View
yep. and exactly before the modal popup appears on screen, the page refreshes. I want to prevent page refresh.
Jukatzu
20-Feb-13 6:45am
View
leave the password out Karthik. The password validation is not the issue here. The issue is that I don't want a postback just before modal.show()
Jukatzu
20-Feb-13 6:38am
View
Yes I did that and exactly before the modalpopup shows, the page refreshes and the modal pops up! That is my problem. I want the modal popup to show pop up withouth any page refresh whatsoever. Thanks for your assistance
Jukatzu
20-Feb-13 6:30am
View
Thanks for your reply Karthik. Maybe I have not explained well my problem. The modal popup extender already uses a dummy button that is hidden. I want to prevent the postback at all costs though! I just want the extender to pop up as if it has been called from a button click.
Jukatzu
25-Jan-13 17:33pm
View
Solved it myself. Was re-creating a circle from another function every timeout so the browser was not capable of finishing before the next run; setting it back by a bit each time ;) Thanks sir
Jukatzu
25-Jan-13 8:56am
View
Sir, is it normal that the setTimeout function deteriorates after some time? In the sense that at first the map is very responsive, and the more time goes by with the setTimeout running, the less responsive the map becomes until you are not able to move it. The code in the setTimeout function continues smoothly though. I was expecting the performance to be the same throughtout and not deteriorate exponentially by time. Am I missing something?
Jukatzu
23-Jan-13 18:36pm
View
Worked exactly as intended.
Should have thought of using the function recursively stupid me.
However I am very grateful for your help.
Jukatzu
22-Jan-13 18:23pm
View
Thank you! I will apply it to my case and see what happens. I can see what you mean better now. Will get back to you soon.
Much obliged.
Jukatzu
22-Jan-13 17:56pm
View
Thanks for the quick reply Sir.
I do not wish to include any code since this is a personal project. However, for you to understand me better, let me give an identical scenario. Let's say I want to make a circle move continuously on the map along the x-axis. At the same time I want to be able to travel around the world with my cursor and zoom, pan...whatever. If I put in a while loop for the circle to keep moving left, how would I be able to re-gain control over the map at the same time? I have seen the link you gave me, but that speaks of one process waiting for the other, whereas in my case I do not wish to wait. One process has to run infinitely whilst the other allows user control in real-time. Hopes this explains better.
Thanks again for your time!
Jukatzu
15-Mar-12 12:57pm
View
thanks a real lot Ali! That is very well explained :) I should have no problem moving on now...
Jukatzu
13-Mar-12 5:35am
View
hi, can you review the whole code now? I had tried OnClientClick even before and the map was refreshed back to the original view :/ How can I keep the SET view?
Jukatzu
13-Mar-12 5:10am
View
yes yes that is fine :) ok then I guess I'll have to convert the code to js. I am quite new to js...is it possible to load an API in it?
Thanks again
Jukatzu
12-Mar-12 13:17pm
View
but silverlight limits me to the device's capabilities...html5 canvas runs on all major browsers even tablets'. any more good suggestions? I need a very efficient medium since this is gonna be a collaborative whiteboard application.
Thanks a lot E.F. Nijiboer. Your comments are much appreciated.
Jukatzu
12-Mar-12 8:49am
View
I don't want to create images. This has to remain as editable as possible. And due to the extensive amount of data that has to be drawn I don't want to re-draw the whole image everytime. Ideally I keep the features of the canvas :s
Jukatzu
12-Mar-12 8:31am
View
Hi Ali,
Yes you are right, this seems to work but the map does not change location. It seems to refresh but the initial map comes back :/ I guess I would have to put the entire code in here yes? I'll try to do so from home...
Thanks a lot though,
Justin
Show More