Author: soleimanian Total-Replies: 21
Please help me!
I want to in popup massage suggest to visitors of my site to make my site their home page .
Please note that I have some script code that visitors most click on a text to make my site their home page .
Every one that can help me please send an email to firstname.lastname@example.org
Posted in Astahost / Asta ANSWERS!
Author: (G)SamsonT Total-Replies: 0
Please, I need help , can any one help with useful resources on how to make this popup . I have been searching the internet for the solution bu cannot get any useful help. Please can anyone help. This is what I want to achieve, the sample is on the home page of this PFA site on default or index page:Http://www.Armpension.Com/This div floats from the left side of the window and when click on the close X symbol the div floats to left side .Please help.Thanks
-question by SamsonT
Posted in Astahost / Asta ANSWERS!
Author: (G)David Total-Replies: 0
Author: miCRoSCoPiC^eaRthLinG Total-Replies: 7
The post title summarises my query - how do I create pop-up windows that are embedded inside a page?
Second one, which has come to be quite well-known of late is the kind you see in recent versions of WordPress (in the Visual Editor) as well as LightBox based galleries. Here a small window (or rather a div) pops-up embedded in the middle of the page. It's a floating div that can be dragged around anywhere. A similar notification window can be sighted even in the recent versions of IPB when you receive a new PM. This is exactly what I want to create - but I dont have no clue how to go about it.
I tried searching for "embedded" "pop-up" etc. but always got tutorials for silly JS popup windows...
Can anyone help shed light on this? And don't ask me to study the lightbox code - I already did. But my JS is so pathetic I couldn't do much with it. If you can point me to a good tutorial that shows you how to do this it'll be great
Posted in Computers & Tech / Software / Freeware
Author: TavoxPeru Total-Replies: 1
Ferant DHTML Studio Lite is a free browser-based wizard that may be used to create DHTML windows or pop-us in 3 easy steps:
Unfortunately this software is a bit older and seems like the creator simply disappear because i don't find any update available and it's website simply redirecting to another website.
You can download from here
Posted in Computers & Tech / Internet and Websites
Author: szupie Total-Replies: 4
Firefox uses the Gecko engine created by Mozilla to render pages (and to render its windows' layout too!), while Internet Explorer uses... uses its Internet Explorer engine. IE's engine uses many many codes that Microsoft invented on their own. However, most of them do not follow web standards. The Gecko engine closely follows web standards (it's very hard to completely follow them -- only 2-3 browsers can currently do this), so the codes you write for IE probably won't be executed by Firefox. But if your code follows web standards, IE will probably understand it, though there might be a few exceptions.
Author: FeedBacker Total-Replies: 24
I have a question too. I am creating a site and I need to make a picture that will enlarge when it is clicked.
I am using a program (typo3) wich will map it and by doing that the picture will lose the onClick part. I also need to use the same code for many pictures. if you have any idea about this pls let me know... and I hope I explained it right cuz I'm not to good in explaining my thoughts.thanks
Posted in Computers & Tech / Programming / Scripting / PHP
Author: pyost Total-Replies: 9
As for the "Last Active" problem, one way is to check it when any script is accessed. For example, User1 closes his/her browser, and then there is not activity on the web site whatsoever - nothing is deleted. However, when User2 requests a certain page (doesn't matter which one), you first run the "last active" script, in order to clear user that left, and then display the page User2 requested.
I think it might also be possible to achieve this with cron jobs, but I have never used them, so can't tell you with certainity.
Posted in Computers & Tech / Designing / Web Design and HTML
Author: pbolduc Total-Replies: 20
When to use it?
It works well for image roll-over scripts, although I mostly use a text roll-over script like the one in my tutorial I post on creating a text roll-over verses an image roll-over.
Author: mastercomputers Total-Replies: 11
I was meant to come back to this post ages ago, forgot all about it.
My new test demo is at: Test Demo 2
Now I've had reports of some strange activity in IE though I'm not sure what they are as I don't have IE to test.
Hopefully this works better for Firefox and Opera now.
The whole idea was to create something that looks like a dropdown menu using an unordered list.
Posted in Computers & Tech / Programming / Scripting / PHP
Author: sid.calcutta Total-Replies: 6
Here is a PHP Script which may help you.
First of all, Let us create a table named tbl_test in a MySQL Database. The table contains three fields:
Now here is the CREATE TABLE CODE for you.
First of all, we'll drop Table, if it exists.
CODEDROP table if exists `tbl_test`;
Now we'll create the table tbl_test.
CODECREATE TABLE `tbl_test` (
`field_id` int(11) NOT NULL auto_increment,
`category` char(20) default 'General',
`description` char(100) default 'Not Specified',
PRIMARY KEY (`field_id`)
Now insert some test data in the table.
Now is the time to play with the following PHP Script.
The script starts at this point.
Connecting to Database:
Consider giving a dynamic file name rather than a static one.
This is the file that will store the fetched data.
Create a file using fwrite():
if(!$fp) die("Error creating file");
It will be used later on to store the fetched records.
if(!$link_id) die("connection failed");
Hopefully you can add a more appropriate error handler.
Setting the current database:
if(!$current_db) die("error connecting host");
Creating a HTML table
CODEecho " <table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\">";
The table will hold a form which will display the options ( i.e. category as in my example).
Your users will choose a value from the options given.
echo "<td><form name=\"form1\" enctype=\"multipart/form-data\" method=\"post\" action=\"$PHP_SELF\">";
echo "<p>Please select a category </p>";
Now selecting the records ( i.e. category) one after another from the category table and displaying it in a list box
CODEecho "<select name=\"category\" size=\"1\">";
$search_string="SELECT DISTINCT category FROM tbl_test";
echo "<option> $data_search_string </option>";
A simple one line instruction for the user:
CODEecho "Click here to start :";
CODEecho "<input type=\"submit\" name=\"Submit\" value=\"search\">";
The FORM ends at this point Note the action attribute of the FORM tag set to $PHP_SELF
So when the user clicks on the submit botton the same page reloads with a value saved in the $category variable.
Now we'll show the record based on the options chosen by the user.
CODEecho "<tr><td><h2> Your records </h2></td></tr>";
Let us set few global variables.
CODEglobal $records_per_page, $cur_page, $PHP_SELF, $search_category, $category;
Checking if $category variable stotes any value or not, if it does not, we set it to default : General/ Or any value you prefer, but it must be the one of the values you have entered in the category field of your table.
Checking is done. Now we'll show the user, what value he wanted to see.
CODEecho "You are searching for $search_category";
Now counting the number of records found in the database for that category:
CODE$count_query="select count(*) from tbl_test where category = '$search_category' ";
CODE$result = mysql_query($count_query);
$query_data = mysql_fetch_row($result);
$total_record = $query_data;
if(!$total_record) die('No Record Found!');
Now setting the page number.
CODE$page_num = $cur_page + 1;
Now setting the maximum number of records to be displayed in one page:
You can use another form to allow the user to select the records per page as we have done for selecting the category from the table.
Now we are calculating the total number of pages.
CODE$total_num_page = $last_page_num
CODEecho "<tr><td><CENTER><H3>$total_record found on $search_category - Displaying the page
$page_num out of $last_page_num.</H3></CENTER>\n</tr></td>";
Now set the current page number. To start with it will have a value = 0.
$cur_page = 0;
Now we set the limit for the records to be displayed per page.
CODE$limit_str = "LIMIT ". $cur_page * $records_per_page .
$new_query="SELECT description FROM tbl_test where category LIKE '$search_category'";
$query=$new_query ." ". $limit_str;
Again a database query to fetch the records as per the option selected by the user. And display the records in a table.
CODE$result = mysql_query($query);
if(!$result) die("No record found");
echo " <tr><td> $data </td></tr> "; // this will show records
fwrite($fp,$data); // this will write to the file
fwrite($fp,","); // This is the ", " seperater
We have finished fetching records and at the same time stroring it in a file.
Now we are creating links for the user to nevigate to continuation pages.
CODEif($page_num > 1)
$prev_page = $cur_page - 1;
echo "<A HREF=\"$PHP_SELF?&cur_page=0\">[Top]</A>";
echo "<A HREF=\"$PHP_SELF?&cur_page=$prev_page\">[Prev]</A> ";
if($page_num < $total_num_page)
$next_page = $cur_page + 1;
$last_page = $total_num_page - 1;
echo "<A HREF=\"$PHP_SELF?&cur_page=$next_page\">[Next]</A> ";
echo "<A HREF=\"$PHP_SELF?&cur_page=$last_page\">[Bottom]</A>";
Now we'll allow the user to download the file.
CODEecho "<tr><td><a href =\"$new_file\">Click here to download</a>";
Our task is over. Now some closing HTML tags again.
echo " </tr>";
So far as the present script is concerned, I got a great help from a book entitle BEGINNING PHP4 published by Wrox Press Ltd. Infact page transition part has actually been scripted in that great book. It works nicely.
Posted in Computers & Tech / Operating Systems / Windows (All Versions)
Author: wutske Total-Replies: 25
I have no idea if this will work for XP Home users since I only have XP Pro here, but this is the registry-way of disabling the information bar:
- Open regedit (Start > Run > regedit )
- Navigate to HKLM\Software\Policies\Microsoft\Internet Explorer\Security
- If those key don't exist, you'll probably have to create them. They are case-sensitive !!!
- Now, create the following DWORD (CASE SENSITIVE !!!): DisableSecuritySettingsCheck
- Give this DWORD the value: 1
Btw, messing with the reigstry is dangerous if you don't know what you are doing, one wrong move can be enough to mess up your whole computer. Everything you do in the registry is at your own risk.
Posted in Computers & Tech / Software / Internet & Network Clients..
Author: miCRoSCoPiC^eaRthLinG Total-Replies: 20
Firefox all the way
Posted in Astahost / Your Voice! Your Review..
Author: Alexandre Cisneiros Total-Replies: 31
I use shortURL, and is verry good. Thgey have MANY features. There are:
.Many Sub-domain options:
AND MORE! There are 25 options!
.Suport for WWW:
If the user puts www. before the adress of your shortURL, it goes to your page normaly! No 404 Errors!
If you have the ShortURL yourname.vze.com and the real URL of your site is www.hosting.com/members/yourname and want to acess the diredory /joe in your real URL, you can create a link to yourname.vze.com/joe.
.Prefix Path Forwarding:
The same of the above feature, but is like this:
To acess /joe, point the brouwser to joe.yourname.vze.com.
If you point the browser to yourname.vze.com or to joe.yourname.vze.com, you will go to the same point: the main page of your site.
WARING: Chose this feature or teh Prefix Path Forwarding.
Normally, after your ShortURL.com forwards to your real URL, your real URL is then shown in the browser's address bar. Turning on URL masking, allows you to keep your ShortURL in the address bar by using a hidden frame trick. This frame is invisible to the user. Then, if visitors bookmark your site, they bookmark your ShortURL, and search engines will link to your ShortURL as well. 95% of our users choose to use this feature.
Frame Kill forces your site to pop out of any frames it may be loading in. For example if another website links to you and opens your site inside their frame.
Usefull to LYCOS users.
With a ShortURL address you will have access to traffic stats with daily and monthly reports displaying unique and raw visits and referring URLs. We also calculate your unique/raw ratio and daily averages.
The Referring URL Report allows you to see where your visitors are coming from! An hourly report displays all the URLs that have sent traffic to your ShortURL address, as well as a list of keywords used to find your site in search engines.
If you have mirrors of your site you can use your ShortURL to balance traffic between them, or provide redundancy.
This can be done two ways: 1) You can have ShortURL randomly forward to a mirror, weighing any URLs you wish to get more or less traffic. 2) Or, have ShortURL generate a page, providing visitors with a list your mirrors to choose from along with a description for each one.
.Private Networks / Specific Ports:
If you have a home/office network, and you can get your website to load:
http://IP-ADDRESS-HERE then you can point a ShortURL there. If you need to get around a pesky port 80 block, then you can setup your server to work on another port (ie. 81) and include the number in the target URL by using:
ATTENTION: shortURL puts one little, verry little frame on bottom of your page, nut if you upgrade to Premium, it disapears.
Get the Premium by 2 manners:
or completing one of the partner campains. It consist in completing a survey, or sign up to one site, etc...
Free Short URL since 1999.