334 Posted Topics

Member Avatar for <M/>

If you wish for a basic fading effect, I may have a way to do it. 1. Use jquery to set the z-index of the pictures. 2. use fade() and reappend the image behind the last one while decreasing z-index of all pictures during the effect.

Member Avatar for JorgeM
0
92
Member Avatar for dany12

ok, I shall have a wild guess in this case. It maybe cause as the image have repeat itself as the width of the link is set wider than the image. First solution is reduce the width of the link and another is to set the background-repeat: no-repeat;

Member Avatar for dany12
0
170
Member Avatar for bo0ga

Helianthus's suggestion did make sense in solving this matter but normally we don't bind all element to it. What need to be done is just to the body: `body{margin:auto;}`

Member Avatar for lps
0
102
Member Avatar for aldm
Member Avatar for Ausopenxcell
0
536
Member Avatar for Griffin54

<!DOCTYPE html> <html> <head><style>body{width:1000px;margin:auto;}</style></head> <body> <p>something goes here</p> </body> </html> BUT if an element is having position absolute, it should have additional style "left:0;right:0;" in order to have it positioned to center.

Member Avatar for lps
0
238
Member Avatar for otengkwaku

Basically, CSS3 is really helping us out by providing more functions and effects such as border-radius and box-shadow. But still, there have been people still using old browser such as Internet Explorer 7 which do not have their support in CSS3. Thus, it not the only way to style the …

Member Avatar for drjohn
0
230
Member Avatar for davy_yg

Firstly, please have the images upload to server instead of the localhost. We can't view the images with effect.Therefore, cannot help in detail. I think the main reason of your problem is about the CSS. My suggestion is you install firebug plugin of firefox and use it to adjust the …

Member Avatar for davy_yg
0
118
Member Avatar for joycesam_07

You can try download superfish with example at this site:[URL="http://users.tpg.com.au/j_birch/plugins/superfish/#download"]http://users.tpg.com.au/j_birch/plugins/superfish/#download[/URL]

Member Avatar for lps
0
432
Member Avatar for ArtphotoasiA

try deregister the script before your enqueue of new script. wp_deregister_script( 'jquery' );

Member Avatar for ArtphotoasiA
0
153
Member Avatar for XinJiki
Member Avatar for XinJiki
0
105
Member Avatar for Waldema

//php echo '<form onsubmit="confirmation()" action="'.$_SERVER['PHP_SELF'].'" method="GET" >'."\n"; //javascript function confirmation() { var answer = confirm("submit?") if (answer){ return true; } else{ return false; } }

Member Avatar for lps
0
144
Member Avatar for dschuett
Member Avatar for Bubbleboy

How about do it with php? check if the user is logged in by detect $_SESSION, then, made the file url unavailable if it is not set.

Member Avatar for lps
0
107
Member Avatar for ABUMIN

or even easier. You can try assign class to the link. For example[CODE]<a class="link" href="www.google.com">google</a>[/CODE] and thus style the link using css [CODE].link{color:cyan;}[/CODE]

Member Avatar for zobadof
0
198
Member Avatar for Violet_82

Sorry to interrupt in this topic but i wonder why using a wrapping div to create a border as it can be done just by css: img{ padding:5px; background-color:white; }

Member Avatar for Violet_82
0
96
Member Avatar for William Blore

1. There is no 'best language' as very language have its own strength and weakness. PHP, MySQL and Java Script are good language for beginner and I agreed with drjohn that html and CSS is the basic of it. And, AJAX and jQuery will be good for advance. 2. I …

Member Avatar for lps
0
77
Member Avatar for Philippe.Lahaie
Member Avatar for Philippe.Lahaie
Member Avatar for Philippe.Lahaie
0
99
Member Avatar for suavedesign

How about parsing the picture to a div and set it to stretch to a bigger size. But this will probably mess up the resolution of the pictures.

Member Avatar for lps
0
75
Member Avatar for doctorphp
Member Avatar for Vanquish39
Member Avatar for Commando112
0
113
Member Avatar for mln_ndh

Normally, we will run the confirmation script to delete data before we proceed into the delete.php

Member Avatar for pritaeas
0
244
Member Avatar for Ismatus3

My suggestion: remove the margin-left and just simply put margin:auto. It will work fine even back in IE7 provide you declared the DOCTYPE.

Member Avatar for Ismatus3
0
137
Member Avatar for M.Waqas Aslam

1. JSON is normally used in AJAX where it provide temporally connection to database. 2. Please mention the programming language used to connect. 3. If you wish to dig into jquery, you can refer its API at [URL="http://api.jquery.com/"]http://api.jquery.com/[/URL]

Member Avatar for M.Waqas Aslam
0
143
Member Avatar for Ismatus3

Firstly, about determining the size of the form, you can try using jquery: refer [URL="http://api.jquery.com/width/"]http://api.jquery.com/width/[/URL]. To center it, just use CSS margin:auto will work fine provide the DOCTYPE is declared.

Member Avatar for lps
0
60
Member Avatar for davy_yg

Agree with thepythonguy, please be more specific and detailed which font should be change: either the search form's text or the text of searching result. I believe both of that can be done by CSS .class{ font-size:??px; }

Member Avatar for jorik
0
70
Member Avatar for PF2G

I believe the problem occur because you did not declare your doctype or did not set the margin of body to auto. As you can see, firefox and chrome do have their support in plenty of plugins and will normally work but IE in the other hand do not support …

Member Avatar for lps
0
74
Member Avatar for Xufyan

The problem exist because you have set the width of its wrapper(#filterbox). Therefore, if the content is larger than the width set, dissplay:inline will just align the overflow area to a new line

Member Avatar for dipeshbeckham
0
635
Member Avatar for prasanna123

My suggestion is doing it using superfish. Try download both js and css way of doing it at this site: [URL="http://users.tpg.com.au/j_birch/plugins/superfish/#download"]http://users.tpg.com.au/j_birch/plugins/superfish/#download[/URL]

Member Avatar for shahbaz13
0
94
Member Avatar for davy_yg

How about using position:relative and adjust the position by using top:30px, for example.

Member Avatar for davy_yg
0
436
Member Avatar for spyece
Member Avatar for lps

Actually I am having a problem with the content width where the content is a link. Here is the shorten code of it: [CODE]<!DOCTYPE> <html> <head> <style> #main{ width:100px; background:cyan; } </style> </head> <body> <div id = "main"> <a href="#">This is a very long long one.... hahahahahahhahaha</a> </div> </body> </html>[/CODE] …

Member Avatar for lps
0
126
Member Avatar for sgonser

Actually it look fine in my version of chrome. Moreover, It work with same effect of firefox when I run it in safari which is using same platform with chrome.

Member Avatar for hericles
0
49
Member Avatar for toddj

Normally this is because your footer is being hide behind your content. Please try these style to footer(just suggestion, hope can help) [CODE] clear:both; position:relative; top:0; [/CODE]

Member Avatar for toddj
0
161
Member Avatar for morrisproject

my suggestion: just download the css from superfish and use it. Quite complete and customizable. Moreover, it is compatible to most of the browser even back to IE6.

Member Avatar for lps
1
109
Member Avatar for resell4

If you do not wish to dig further into php, why don't you consider to use some content management system(CMS)? My suggestion is that download wordpress at [URL="http://wordpress.org"]http://wordpress.org[/URL] and have some themes online for example:[URL="http://woothemes.com"]http://woothemes.com[/URL], have it installed and modified based on need.

Member Avatar for lps
0
66
Member Avatar for asuprem
Member Avatar for asuprem
0
2K
Member Avatar for sirlink99

Try refer this: [URL="http://foohack.com/2007/11/cross-browser-support-for-inline-block-styling/"]http://foohack.com/2007/11/cross-browser-support-for-inline-block-styling/[/URL]

Member Avatar for sirlink99
0
107
Member Avatar for vidin

Firstly, my recommendation is to assign the position:absolute or relative. This will probably fixed the alignment of the page. If this still not working, please post the styling of the page here for reference.

Member Avatar for lps
0
62
Member Avatar for lps

Based on my understanding, wp_enqueue_script is the function to bind the script to the head section while wp_enqueue_style is to bind CSS to it. My question is: is there any way to bind a php to head without using include?

Member Avatar for lps
0
114
Member Avatar for lps

Good day, I am having problem with the wordpress add_action function. currently, I tried the code provided in wordpress.org forum without success: [CODE] $comment_ID="15"; function echo_comment_id( $comment_ID ) { echo "I just received $comment_ID"; } add_action( 'comment_id_not_found', 'echo_comment_id', 10, 1 ); [/CODE] When I run the code, $comment_ID does not …

0
103
Member Avatar for mehdi.yazdani

If you mean that put image directly after click link or button. My advise is use jquery onclick. For example[CODE] $(document).ready(function() { $('#link').click($('#img').src='<?php echo $link ?>'); });//please don't copy this code. This haven't been tried yet [/CODE] but if you wish to do it without click, please remove the onlick …

Member Avatar for lps
0
109
Member Avatar for solid28

My recommendation is that don't use table and assign float:left to your image. For example:[CODE] <div class="block-content frontsplash-block"> <a href="<?php the_permalink() ?> "> <?php the_post_thumbnail($homepage_thumbnail_size); ?> </a> <div> When you decide to grow marijuana with a hydroponic system, it can be incredible difficult compared with traditional planting in soil. While …

Member Avatar for solid28
0
124
Member Avatar for shadowcrawler

Basically, just assign CSS 'overflow:hidden' to the outer div. With this, the outer div will auto size in tern of width and height based on content of inner div without have to set fixed width.

Member Avatar for Dandello
0
2K
Member Avatar for harveylester
Member Avatar for Dandello
0
149
Member Avatar for eLu-sive

You may try using ajax to do it. If you wish to do so, please refer: [URL="http://www.myphpetc.com/2010/01/save-to-database-via-ajax-using-jquery.html"]http://www.myphpetc.com/2010/01/save-to-database-via-ajax-using-jquery.html[/URL]

Member Avatar for lps
0
226
Member Avatar for drameshgar1

MY recommendation is that you can refer the functions, database and others in [URL="php.net"]php.net[/URL]. It got a huge number of php API listed. Meanwhile, you can try out your CSS using w3school.

Member Avatar for codewalkz
0
255
Member Avatar for Joshua Kidd
Member Avatar for lps

Good day, I have a problem here: is it possible to put an input field into option such as this?[CODE]<select> <option><input type="text" value="aa"></option> </select>[/CODE] (This is not working, any suggestiuon on how to refine it for it to work?) Any help will be appriciated.

Member Avatar for Agarsia
0
256
Member Avatar for jacob21

Instead of trying the whole bunch of code, I suggest that you should try to cut some of the code part by part to monitor which part of the code is not functioning and thus try to debug it. If the problem is not solved, you can try to asking …

Member Avatar for Stefano Mtangoo
0
278

The End.