Announcements Last Post
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
Setting Width and Height
August 27, 2013 08:01PM
Hi

I have been trying to set width and heigh of a window but i can't see the change in the window, can you assist me with some clue. I tried the following html code

Language: Delphi
width="500" height="500"

thanks
avatar Re: Setting Width and Height
August 27, 2013 08:52PM
You cannot set the window size with HTML, you would need to use JavaScript.

In any event, it is a BAD thing to do - you will lose most of the visitors to your site.
Do not force users to view a site with a fixed initial window size, which they can resize anyway. Rather design your site to work with any size window / monitor.
Re: Setting Width and Height
August 28, 2013 10:25AM
I take it you are refering to the pop up code window...
you should have used the same code window in last year/semester 2613
or in the javascript subj from year 1.

sure you can get the code on google...but not sure if we are allowed to give you the answer here.
avatar
Mac
Re: Setting Width and Height
August 28, 2013 10:46AM
Yip, no complete code posted here...
Re: Setting Width and Height
August 28, 2013 08:44PM
Thanks everyone

I managed to get it yesterday using javascript, thanks
Sorry, only registered users may post in this forum.

Click here to login