[quote name=‘zardos’]No, take this out [COLOR=Red](add id=“q”) [/COLOR]and just add the little bit in the above post, [COLOR=Red]id=“q”[/COLOR][/QUOTE]
I tried, doesn’t solve
I solved removing this line:
[QUOTE]
,
callback: function (obj) {ldelim} document.getElementById(‘testid’).value = obj.id; {rdelim}
[/QUOTE]
I don’t understand why…but it solved!
I think it would be nice if we made a simple modification to the .js to jump straight to the product instead of filling the input field…
[quote name=‘snorocket’]I think it would be nice if we made a simple modification to the .js to jump straight to the product instead of filling the input field…[/QUOTE]
Just change the existing
to
Alexandros
very nice, Thank You
Hi Alexandros
The above does’nt seem to work, it jumps to an empty page.
[quote name=‘zardos’]Hi Alexandros
The above does’nt seem to work, it jumps to an empty page.[/QUOTE]
Can you give me a sample url that produces the empty page? Normally it should go to a page with url like /index.php?target=products&product_id=PRODUCTID
Alexandros
[quote name=‘zardos’]Sure
[url]http://www.megapcs4u.co.uk/megapcs/index.html?target=products&product_id=29760[/url][/QUOTE]
This is strange. This is what I see [url]http://www.topcoder.gr/downloads/megapcs4u.gif[/url], and it seems to show correctly…
Alexandros
The other code work great, i just put the other code back.
[URL=“http://www.megapcs4u.co.uk/megapcs/ati-technologies-radeon-7000-graphics-card-32mb-p29760.html”]http://www.megapcs4u.co.uk/megapcs/ati-technologies-radeon-7000-graphics-card-32mb-p29760.html[/URL]
[URL=“http://www.megapcs4u.co.uk/megapcs/index.html?target=products&product_id=29760”]http://www.megapcs4u.co.uk/megapcs/index.html?target=products&product_id=29760[/URL]
Both the same product, top link is the old code and the second link is the new.
The new code works fine in IE7 not in FF2
it also doesn’t work in Opera 9.20.
Error is in output:
[QUOTE]
/index.php?target=products&product_id=2
[/QUOTE]
INSTEAD OF
[QUOTE]
/index.php?target=products&product_id=2
[/QUOTE]
I think that it could be easily patched…I’m trying now…
[quote name=‘zardos’]The other code work great, i just put the other code back.
[URL=“http://www.megapcs4u.co.uk/megapcs/ati-technologies-radeon-7000-graphics-card-32mb-p29760.html”]http://www.megapcs4u.co.uk/megapcs/ati-technologies-radeon-7000-graphics-card-32mb-p29760.html[/URL]
[URL=“http://www.megapcs4u.co.uk/megapcs/index.html?target=products&product_id=29760”]http://www.megapcs4u.co.uk/megapcs/index.html?target=products&product_id=29760[/URL]
Both the same product, top link is the old code and the second link is the new.
The new code works fine in IE7 not in FF2[/QUOTE]
Hello Zardos,
I solved with this new code!! Now it works fine in IE7, OPERA 9.20 and FireFox 2:
```php
```
Enjoy!
Regards
[quote name=‘Palmtop’]Hello Zardos,
I solved with this new code!! Now it works fine in IE7, OPERA 9.20 and FireFox 2:
Enjoy!
Regards[/QUOTE]
Thanks Palmtop
Alexandros
[quote name=‘abinop’]Thanks Palmtop
Alexandros[/QUOTE]
Thanks to you, Alexandros, for this great script!
I think that we could repack again this script, now that it works fine and on all browser platform, and repost for other users!
[quote name=‘Palmtop’]I think that we could repack again this script, now that it works fine and on all browser platform, and repost for other users![/QUOTE]
I have edited my first post replacing my problematic part with your code. This way other users (new or old) will be able to get the latest version right away.
Alexandros
After adding this I’m now getting:
Warning: Cannot modify header information - headers already sent by (output started at /home/ladysere/public_html/shop/config.php:663) in /home/ladysere/public_html/shop/core/sessions.php on line 40
Warning: Cannot modify header information - headers already sent by (output started at /home/ladysere/public_html/shop/config.php:663) in /home/ladysere/public_html/shop/core/sessions.php on line 41
Warning: Cannot modify header information - headers already sent by (output started at /home/ladysere/public_html/shop/config.php:663) in /home/ladysere/public_html/shop/core/sessions.php on line 44
Warning: Cannot modify header information - headers already sent by (output started at /home/ladysere/public_html/shop/config.php:663) in /home/ladysere/public_html/shop/core/sessions.php on line 73
Warning: Cannot modify header information - headers already sent by (output started at /home/ladysere/public_html/shop/config.php:663) in /home/ladysere/public_html/shop/core/sessions.php on line 74
Please help!
You’ve got a space at the end of sessions.php or config.php
?>
Thanks Palmtop nice fix, this is a nice mod addition, thanks again Alexandros.
Jesse,
Thanks for the reply! I’ve checked config.php and it’s OK. Where is sessions.php? I can’t find it.