Posts by Tiago Oitavén • 92 points
8 posts
-
1
votes3
answers1750
viewsA: Traverse string with PHP
Good afternoon. As I understand it, do you intend to get the first picture right? I was just wondering if you wanted the image source or the full tag... so I did the following. <?php $str =…
phpanswered Tiago Oitavén 92 -
-1
votes2
answers181
viewsA: How to adapt a div with position: Fixed?
Is this what you want? The numbers are only there so you can scroll to the page and see the fixed element... http://jsfiddle.net/hy3cjazu/ .fixed { position: fixed; box-sizing: border-box; width:…
cssanswered Tiago Oitavén 92 -
3
votes2
answers2454
viewsA: Alert when closing the browser
I don’t know if it helps... but you can use this method... the only problem is that it will be executed while doing refresh, etc... <script type="text/javascript"> window.onbeforeunload =…
javascriptanswered Tiago Oitavén 92 -
-1
votes3
answers102
viewsA: Variable in PHP read by all clients
I think what you’re looking for is this function: apc_store For more information and examples: http://php.net/manual/en/function.apc-store.php ATTENTION: you need to have Acp installed in PHP, if…
phpanswered Tiago Oitavén 92 -
1
votes4
answers1122
viewsA: Align 4 Divs in CSS table
Dear, I think the quickest and safest way is this: HTML: <div class="contentor"> <div class="div1">a</div> <div class="div2">b</div> <div…
cssanswered Tiago Oitavén 92 -
1
votes3
answers124
viewsA: Loop
I hope to help with my answer because I have tried to find another way to do so. Here it comes... <?php $vetor = array("Pera", "Uva", "Melao", "Morango"); $final = $vetor[0]; for ($i = 1; $i <…
phpanswered Tiago Oitavén 92 -
0
votes1
answer43
viewsA: hoverColumn graphael
I think I figured out your problem... The problem lies in the arrays you are passing, do not have the same number of parameters. On the second graph you have this: var xVals2 = [[1, 2, 3, 4, 5, 6,…
javascriptanswered Tiago Oitavén 92 -
2
votes3
answers202
viewsA: Form Dynamic
I copied your code and it works on my machine. Check that your file execution is correct and that you are opening the file correctly. I would also like to take this opportunity to express my…