web-development

How to find out homestead.com nameservers?

Hi Everyone, I have an old site created in homestead.com I redirected the domain to a new site last week but now want it redirected back. However I dont know what the nameservers are. Does anyone know? Kind Regards Nick ...

how to force the user to download a file, not to view it?

I have a download page where i have kept musics, pictures, ebooks and etc. Whenever users click at the image it opens it, and same things happen with .pdf files if the user has installed pdf reader on their PC? I dont want them to open the file but to download it? Any ideas ...

Auto fit iframe

I have a difficulty on design a web page layout. This is my layout structure. <style> #left { float:left; width:600px; min-height:400px; } #right { float:right; width:200px; min-height:400px; } </style> <body> <center> <div id="page"> <div id="left"> <iframe /> </div> <div id="right">right panel</div> <div id="footer">foote...

Hidden links are still clickable on the Android browser

I've got a contextual menu that appears when a button is clicked. This menu has some links and after some seconds is hidden again. The problem is that after the menu has disappeared the links are still there. They are not shown but are clickable and the green border appears. And after some seconds they disappear. I've tryied many ways ...

.Net equivalent of JSP?

What is the .Net equivalent of a JSP page? ...

Horizontally align rows in multiple tables using web user control

I need to align rows in different tables that are layed out horizontally. I'd prefer to put the html code in a single web user control so I can create as many instances of that control as I want and lay them out horizontally. The problem is, the text in the rows needs to wrap. So some rows may expand vertically and some may not (see t...

Choosing a plotting library for web/browser application

Hello, I am looking for a plotting/graphing library (mostly to do line plots) for my application. I have been looking at JavaScript APIs (like Google's) but I found them to be slowing down things at client side (I am plotting a quite large number of points). I also found that with client-side libraries, the performance was quite varied ...

blog.domain.com vs domain.com/blog

Other than style, is there any significant difference between the 2, perhaps in something such as SEO? And style-wise, is there a "standard"/good practice about it, or its just up to your personal preference? ...

Google App Engine Python: get image upload size server-side

I am building a Google App Engine App that lets users upload images; I have everything working fine, but I am struggling to find a way to ensure that the user does not upload an image too large (because I am resizing the images, so this crashes my python script). When a user uploads a large image, I get this error RequestTooLargeError: ...

Is there a way define a global variable which is accesible from a class method?

Here is the situation I create a instance of a class $newobj = new classname1; Then I have another class writtern below and I want to this class to access the object above class newclass { public function test() { echo $newobj->display(); } } It is not allowed, is there a way define a variable globally through a clas...

In a web farm environment, should we base the system date/time to the web servers or the database server?

Assuming there are a number of load-balanced web servers in a web farm, is it safe to use the app/web server time in the application code for getting the system date/time or should we leave this responsibility to the database server? Would there be a chance that machine date/time settings on all servers in the webfarm are out of sync? ...

Reading cookie problem across directories

This is my JavaScript code I use to create my cookie............ document.cookie = "Name=" + Name + ";expires=Friday, 31-Dec-2011 12:00:00 GMT; path/"; I create it in www.example.com/folder/file.html and it works. But I cant read the cookie from www.example.com/index.html or www.example.com/folder2/file2.html. What is wrong with my ...

Which software systems exist for creating Web pages from arbitrary database structure?

I would like to know whether there are software that a user can edit or create the database structure from WEB-UI, and after automatically generated CRUD pages. WEB-Site can use not only personal with developer skills. Advanced users, managers also can use system functionality. As joomla, only with other features they are talking about ...

Will it be possible to use any asp.net and silverlight controls in Intraweb XII?

I am researching a lot on intraweb, I read that in Intraweb XII (when will this be released?) it will be possible to have: 1) "silverlight enabled controls" (mentioned here, this is the old IW XI roadmap anyway silverlight task has been moved to XII now) 2) "IntraWeb XII [...] will contain the integration with CrossTalk and ASP.NET" (m...

Using an excel as database : How to supply network security

Hi, I have published a small website and I'm using an excel file as a database. The problem is that the excel file could be easily downloaded if its path is known ! (e.g. www.mysite.com/myexcel.xls -> opens a "save as" window) What can I do, to protect my data. Kind regards. ...

Displaying message if no photo present...

I am using the code: <%= image_tag site.photo.url(:small) if site.photo.file? %> to tell my app to display nothing if there is no photo associated with a particular post (site in this case). Is there a way to render a message along w/ this. For instance "no image with the post". I tried simply doing <%= if site.photo.file? %> <p> n...

Web Usability: Save and Cancel ... or ... Cancel and Save?

Windows and OS X have always bumped heads on this, but what is the general concensus on whether a Save button or Cancel button goes first in a web application? [Save] [Cancel] or [Cancel] [Save] Note: I have these buttons at the top of the form flush to the right. ...

What's different between HTML and WML/WAP?

I checked the source of a few WAP sites, but doesn't find anything different from a normal HTML page. Can you name a few detailed points? ...

Is it possible to create a nav slideshow using Canvas divs?

I'm trying to implement the sliding nav as described in this simple tutorial: http://sixrevisions.com/tutorials/javascript_tutorial/create-a-slick-and-accessible-slideshow-using-jquery/ But rather than using images, I'd like to use charts from this charting package: http://www.highcharts.com/documentation/how-to-use I've found that wh...

How do I start using Linux for web development?

OK, so that's maybe not the best title, but I don't know exactly what I want to do, so, please, hear me out. I've used Windows pretty much all my life although I played with Linux on several occasions. At work everyone does web development with php on Windows using the same IDE and stuff. I would like to experience the powerful Linux c...